]> git.mxchange.org Git - flightgear.git/blobdiff - src/Autopilot/logic.cxx
Fix various route-manager issues reported by Hyde.
[flightgear.git] / src / Autopilot / logic.cxx
index 83270427dc2ec233b6971339fcb536b95e894181..6f8a5304156397ba83d0882abee6e6941cec7537 100644 (file)
@@ -24,7 +24,6 @@
 #ifndef HAVE_CONFIG_H
 #  include <config.h>
 #endif
-#include <simgear/math/SGMath.hxx>
 #endif
 
 #include "logic.hxx"
@@ -45,7 +44,7 @@ void Logic::set_output( bool value )
   if( _inverted ) value = !value;
 
   // set all outputs to the given value
-  for( OutputMap::iterator it = _output.begin(); it != _output.end(); it++ )
+  for( OutputMap::iterator it = _output.begin(); it != _output.end(); ++it )
     (*it).second->setValue( value );
 }