From 6de30f5cbde9750ac216a19cc7abb7aa8dba8cff Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Mon, 10 Feb 2014 01:11:16 +0100 Subject: [PATCH] Our symbian compiler doesn't seem to be too fond of new style loops indeed --- Core/Config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Config.cpp b/Core/Config.cpp index 8e4c0bf681..d71d950adb 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -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");