Browse Source

GCC 4.5 compatibility: no range-based for.

Vladimír Vondruš 13 years ago
parent
commit
db85a02752
  1. 3
      src/SceneGraph/Object.hpp

3
src/SceneGraph/Object.hpp

@ -335,7 +335,8 @@ template<class Transformation> void Object<Transformation>::setClean(std::vector
} }
/* Cleanup all marks */ /* Cleanup all marks */
for(auto o: objects) o->flags &= ~Flag::Visited; for(auto it = objects.begin(); it != objects.end(); ++it)
(*it)->flags &= ~Flag::Visited;
/* Compute absolute transformations */ /* Compute absolute transformations */
Scene<Transformation>* scene = objects[0]->scene(); Scene<Transformation>* scene = objects[0]->scene();

Loading…
Cancel
Save