Changed iterator name to avoid warning

This commit is contained in:
Robert Osfield 2007-09-24 10:31:35 +00:00
parent 10d59e73f6
commit 9f3783929a

View File

@ -561,11 +561,11 @@ std::string Registry::createLibraryNameForFile(const std::string& fileName)
std::string Registry::createLibraryNameForExtension(const std::string& ext)
{
std::string lowercase_ext;
for(std::string::const_iterator itr=ext.begin();
itr!=ext.end();
++itr)
for(std::string::const_iterator sitr=ext.begin();
sitr!=ext.end();
++sitr)
{
lowercase_ext.push_back(tolower(*itr));
lowercase_ext.push_back(tolower(*sitr));
}
ExtensionAliasMap::iterator itr=_extAliasMap.find(lowercase_ext);