Fix std labels

This commit is contained in:
Tact Yoshida 2019-12-24 17:58:05 +09:00
parent b4430bb942
commit ceffab4672
2 changed files with 3 additions and 6 deletions

View file

@ -105,8 +105,7 @@ TFilePath getLocalRoot() {
TFilePath lroot;
#ifdef _WIN32
std:
string regpath = "SOFTWARE\\" + tver.getAppName() + "\\" + tver.getAppName() +
std::string regpath = "SOFTWARE\\" + tver.getAppName() + "\\" + tver.getAppName() +
"\\" + tver.getAppVersionString() + "\\FARMROOT";
TFilePath name(regpath);
lroot = TFilePath(TSystem::getSystemValue(name).toStdString()) +
@ -2251,8 +2250,7 @@ void ControllerService::onStart(int argc, char *argv[]) {
TFilePath logFilePath = lRootDir + "controller.log";
m_userLog = new TUserLog(logFilePath);
}
std:
string appverinfo = tver.getAppVersionInfo("Farm Controller") + "\n\n";
std::string appverinfo = tver.getAppVersionInfo("Farm Controller") + "\n\n";
m_userLog->info(appverinfo.c_str());
TFilePath globalRoot = getGlobalRoot();

View file

@ -876,8 +876,7 @@ void FarmServerService::onStart(int argc, char *argv[]) {
m_userLog = new TUserLog(logFilePath);
}
std:
string appverinfo = tver.getAppVersionInfo("Farm Server") + "\n\n";
std::string appverinfo = tver.getAppVersionInfo("Farm Server") + "\n\n";
m_userLog->info(appverinfo.c_str());
// legge dal file di configurazione dei server il numero di porta da