mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-09-28 13:12:56 -04:00
Minor fixes including removing <> from make_pair usage and using explicit conversions where required by the explicit constructor flags
Now builds/runs using c++11
This commit is contained in:
@@ -61,7 +61,7 @@ int PopulationList::getNearestPopulation(const std::string &scene, int x, int z)
|
||||
}
|
||||
}
|
||||
}
|
||||
m_populationCache.insert(std::make_pair<Location, int>(where,population));
|
||||
m_populationCache.insert(std::make_pair(where,population));
|
||||
return population;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user