Let's see if the new-style for loops work everywhere by seeing if this breaks the build.

This commit is contained in:
Henrik Rydgard 2014-02-09 23:26:06 +01:00
parent ca500b0bf4
commit 9a5ea8ec60

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.begin(), end = pinnedPaths.end(); it != end; ++it) {
vPinnedPaths.push_back(it->second);
for (auto it : pinnedPaths) {
vPinnedPaths.push_back(it.second);
}
IniFile::Section *cpu = iniFile.GetOrCreateSection("CPU");