Revert "Fixed API compilation."

This reverts commit f270f07c86.
This commit is contained in:
Oliver Hamlet
2014-12-20 19:56:20 +00:00
parent 15defca75f
commit c83e127751
2 changed files with 1 additions and 16 deletions
-15
View File
@@ -158,21 +158,6 @@ unsigned int c_error(const unsigned int code, const std::string& what) {
return c_error(loot::error(code, what.c_str()));
}
////////////////////////////////////
// Dummy Masterlist member functions
////////////////////////////////////
// The API doesn't depend on libgit2, by not compiling ".git.cpp", so the member functions are defined
// below as dummies.
namespace loot {
void Masterlist::GetGitInfo(boost::filesystem::path& path) {}
void Masterlist::Update(Game& game, const unsigned int language) {
this->MetadataList::Load(game.MasterlistPath());
}
}
//////////////////////////////
// Error Handling Functions