From: fredb Date: Sat, 16 Jun 2007 16:13:29 +0000 (+0000) Subject: MSVC 7 compilation X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e696c884dcc6dd21b8692a7abe1117b1f8d02fce;p=simgear.git MSVC 7 compilation --- 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;