X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Ftgdb%2FSGDirectionalLightBin.hxx;h=ad919be4c73bd5808781acfe5fdbcab6028a907c;hb=7e7ce2f38e87d6244e05730fa4382da088bb25f1;hp=4b2be508b998e465d2ab9f9702a236ad240dab72;hpb=560c100484e3678770c9589e6067d627ec5554e5;p=simgear.git diff --git a/simgear/scene/tgdb/SGDirectionalLightBin.hxx b/simgear/scene/tgdb/SGDirectionalLightBin.hxx index 4b2be508..ad919be4 100644 --- a/simgear/scene/tgdb/SGDirectionalLightBin.hxx +++ b/simgear/scene/tgdb/SGDirectionalLightBin.hxx @@ -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;