Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 325 vs 326 for /trunk/Source Code/Rendering/ForwardPlusRenderer.cpp

Diff revisions: vs.
  @@ -63,7 +63,7 @@
63 63 _omniLightList.clear();
64 64 _omniLightList.reserve(static_cast<vectorAlg::vecSize>(lights.size()));
65 65
66 - for ( const Light::LightMap::value_type it : lights ) {
66 + for (const Light::LightMap::value_type& it : lights) {
67 67 const Light& light = *it.second;
68 68 if ( light.getLightType() == LIGHT_TYPE_POINT ) {
69 69 _omniLightList.push_back( LightGrid::make_light( light.getPosition(), light.getDiffuseColor(), light.getRange() ) );