From e696c884dcc6dd21b8692a7abe1117b1f8d02fce Mon Sep 17 00:00:00 2001 From: fredb Date: Sat, 16 Jun 2007 16:13:29 +0000 Subject: [PATCH] MSVC 7 compilation --- simgear/scene/tgdb/SGDirectionalLightBin.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.39.5