Our symbian compiler doesn't seem to be too fond of new style loops indeed

This commit is contained in:
Henrik Rydgard 2014-02-10 01:11:16 +01:00
parent 7bedbcbbb3
commit 6de30f5cbd

View File

@ -182,8 +182,8 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
auto pinnedPaths = iniFile.GetOrCreateSection("PinnedPaths")->ToMap();
vPinnedPaths.clear();
for (auto it : pinnedPaths) {
vPinnedPaths.push_back(it.second);
for (auto it = pinnedPaths.begin(), end = pinnedPaths.end(); it != end; ++it) {
vPinnedPaths.push_back(it->second);
}
IniFile::Section *cpu = iniFile.GetOrCreateSection("CPU");