diff --git a/src/Model/modelmgr.cxx b/src/Model/modelmgr.cxx index 14a9ad2c3..d43cac448 100644 --- a/src/Model/modelmgr.cxx +++ b/src/Model/modelmgr.cxx @@ -284,8 +284,8 @@ FGModelMgr::Listener::childRemoved(SGPropertyNode * parent, SGPropertyNode * chi return; // search instance by node and remove it from scenegraph - std::vector::iterator it = _mgr->_instances.begin(); - std::vector::iterator end = _mgr->_instances.end(); + std::vector::iterator it = _mgr->_instances.begin(); + std::vector::iterator end = _mgr->_instances.end(); for (; it != end; ++it) { Instance *instance = *it;