Fixed building API.

This commit is contained in:
WrinklyNinja
2014-07-16 11:40:34 +01:00
parent 70bdc1c91e
commit fa53d2ada8
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -50,11 +50,11 @@ set (LOOT_SRC "${CMAKE_SOURCE_DIR}/src/backend/metadata.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/helpers.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/globals.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/generators.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/sort.cpp")
"${CMAKE_SOURCE_DIR}/src/backend/sort.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/graph.cpp")
set (LOOT_GUI_SRC ${LOOT_SRC}
# Code the API doesn't need.
"${CMAKE_SOURCE_DIR}/src/backend/graph.cpp"
"${CMAKE_SOURCE_DIR}/src/backend/git.cpp"
# Actual GUI code.
"${CMAKE_SOURCE_DIR}/src/gui/main_win.cpp"
+1 -1
View File
@@ -166,7 +166,7 @@ unsigned int c_error(const unsigned int code, const std::string& what) {
// below as dummies.
namespace loot {
void Masterlist::GetGitInfo(boost::filesystem::path& path) {}
void Masterlist::GetGitInfo(const boost::filesystem::path& path) {}
void Masterlist::Update(Game& game, const unsigned int language) {
this->MetadataList::Load(game.MasterlistPath());