# error This library requires C++
#endif
-
#include <simgear/compiler.h>
-#include STL_STRING
#include <vector>
-SG_USING_STD(string);
-SG_USING_STD(vector);
+using std::vector;
#include <simgear/route/waypoint.hxx>
}
}
+ inline int current_index() const {
+ return current_wp;
+ }
+
/** Increment the current waypoint pointer. */
inline void increment_current() {
if ( current_wp < (int)route.size() - 1 ) {