+ Prefer prefix ++/-- operators for non-primitive types

This commit is contained in:
wmayer
2015-10-07 14:29:49 +02:00
parent b7be7aec13
commit 7ca6bb4072
5 changed files with 21 additions and 21 deletions

View File

@@ -1406,7 +1406,7 @@ void Application::logStatus()
time(&now);
Console().Log("Time = %s", ctime(&now));
for (std::map<std::string,std::string>::iterator It = mConfig.begin();It!= mConfig.end();It++) {
for (std::map<std::string,std::string>::iterator It = mConfig.begin();It!= mConfig.end();++It) {
Console().Log("%s = %s\n",It->first.c_str(),It->second.c_str());
}
}