mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
performance Prefer prefix ++/-- operators for non-primitive types.
Origin commit data
------------------
Branch: ni/coolstream
Commit: bb347b3a44
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-04-28 (Sat, 28 Apr 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -95,7 +95,7 @@ bool CConfigFile::saveConfig(const char * const filename)
|
||||
|
||||
if (configFile != NULL)
|
||||
{
|
||||
for (ConfigDataMap::const_iterator it = configData.begin(); it != configData.end(); it++)
|
||||
for (ConfigDataMap::const_iterator it = configData.begin(); it != configData.end(); ++it)
|
||||
{
|
||||
configFile << it->first << "=" << it->second << std::endl;
|
||||
}
|
||||
@@ -394,7 +394,7 @@ void CConfigFile::setInt32Vector(const std::string & key, const std::vector<int3
|
||||
if (it == vec.end())
|
||||
break;
|
||||
s << (*it);
|
||||
it++;
|
||||
++it;
|
||||
if (it == vec.end())
|
||||
break;
|
||||
s << delimiter;
|
||||
@@ -411,7 +411,7 @@ void CConfigFile::setStringVector(const std::string & key, const std::vector<std
|
||||
if (it == vec.end())
|
||||
break;
|
||||
configData[key] += *it;
|
||||
it++;
|
||||
++it;
|
||||
if (it == vec.end())
|
||||
break;
|
||||
configData[key] += delimiter;
|
||||
|
Reference in New Issue
Block a user