Use an auto typed variable in IniFile.cpp

This commit is contained in:
Jordan Woyak 2012-02-24 19:20:17 -06:00
parent b251880d8b
commit f15aeb26b3

View File

@ -459,7 +459,7 @@ bool IniFile::Save(const char* filename)
return false;
}
for (std::vector<Section>::const_iterator iter = sections.begin(); iter != sections.end(); ++iter)
for (auto iter = sections.begin(); iter != sections.end(); ++iter)
{
const Section& section = *iter;