]> git.mxchange.org Git - simgear.git/commitdiff
MSVC 7 compilation
authorfredb <fredb>
Sat, 16 Jun 2007 16:13:29 +0000 (16:13 +0000)
committerfredb <fredb>
Sat, 16 Jun 2007 16:13:29 +0000 (16:13 +0000)
simgear/scene/tgdb/SGDirectionalLightBin.hxx

index 4b2be508b998e465d2ab9f9702a236ad240dab72..ad919be4c73bd5808781acfe5fdbcab6028a907c 100644 (file)
@@ -64,8 +64,7 @@ public:
 
     LightList sortedLights;
     sortedLights.reserve(_lights.size());
-    LightSet::const_iterator i;
-    for (i = lightSet.begin(); i != lightSet.end(); ++i)
+    for (LightSet::const_iterator i = lightSet.begin(); i != lightSet.end(); ++i)
       sortedLights.push_back(*i);
 
     return sortedLights;