]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/tgdb/SGDirectionalLightBin.hxx
Merge branch 'maint' into next
[simgear.git] / 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;