Fix a warning in clang

This commit is contained in:
Eduardo Bart
2012-08-09 03:20:26 -03:00
parent 47f0d7f3a6
commit 608b8f8b44
5 changed files with 8 additions and 4 deletions

View File

@@ -153,3 +153,8 @@ std::string Application::getOs()
return "linux";
#endif
}
std::string Application::getBuildDate()
{
return std::string(__DATE__);
}

View File

@@ -53,7 +53,7 @@ public:
const std::string& getVersion() { return m_appVersion; }
std::string getBuildCompiler() { return BUILD_COMPILER; }
std::string getBuildDate() { return BUILD_DATE; }
std::string getBuildDate();
std::string getBuildRevision() { return BUILD_REVISION; }
std::string getBuildCommit() { return BUILD_COMMIT; }
std::string getBuildType() { return BUILD_TYPE; }