Skip to content

Commit

Permalink
Changed iterator name to avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Sep 24, 2007
1 parent 10d59e7 commit 9f37839
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/osgDB/Registry.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 9f37839

Please sign in to comment.