From 9f3783929a1a0cf9c3d6d28485a932a117ed5583 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 24 Sep 2007 10:31:35 +0000 Subject: [PATCH] Changed iterator name to avoid warning --- src/osgDB/Registry.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/osgDB/Registry.cpp b/src/osgDB/Registry.cpp index 40e6de1f9..bfb8e6a96 100644 --- a/src/osgDB/Registry.cpp +++ b/src/osgDB/Registry.cpp @@ -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);