Merge pull request #2956 from otakuto/fix-std-labels

Fix std labels
This commit is contained in:
Rodney 2019-12-24 08:35:33 -06:00 committed by GitHub
commit c9f2eb8b95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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