]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIScenario.cxx
Update 'magic' for more consistant cross platform padding.
[flightgear.git] / src / AIModel / AIScenario.cxx
index 4491308fef9c75ba713bff26860e1c0e7f51232c..97a60fd4ce5b4bded0f582cf499787bf4c9173cf 100644 (file)
@@ -131,7 +131,7 @@ FGAIScenario::~FGAIScenario()
 }
 
 
-FGAIModelEntity*
+FGAIModelEntity* const
 FGAIScenario::getNextEntry( void )
 {
   if (entries.size() == 0) return 0;
@@ -171,7 +171,7 @@ getAllOffsetNodeVals(const char* name, SGPropertyNode * entry_node)
 {
   list<ParkPosition> retval;
 
-  vector<SGPropertyNode_ptr>::iterator it;
+  vector<SGPropertyNode_ptr>::const_iterator it;
   vector<SGPropertyNode_ptr> children = entry_node->getChildren(name);
   for (it = children.begin(); it != children.end(); ++it) {
     string name = (*it)->getStringValue("name", "unnamed");