X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Froute%2Froutetest.cxx;h=3d59e0de6668faa06fa03dadccfd6e4d6b72906a;hb=3346bfc9a8e01a81bddab503664e0399d57e4d5e;hp=3a0b585310bba69bb7cb34dc7bec70ebdae52973;hpb=733e6fa14ff507a1022ecab8d55cc9bf587bee40;p=simgear.git diff --git a/simgear/route/routetest.cxx b/simgear/route/routetest.cxx index 3a0b5853..3d59e0de 100644 --- a/simgear/route/routetest.cxx +++ b/simgear/route/routetest.cxx @@ -6,8 +6,8 @@ #include "route.hxx" #include "waypoint.hxx" -SG_USING_STD(cout); -SG_USING_STD(endl); +using std::cout; +using std::endl; void dump_route(const SGRoute& route, const char* message) { @@ -23,7 +23,7 @@ void dump_route(const SGRoute& route, const char* message) int main() { SGRoute route; - +/* route.add_waypoint( SGWayPoint(0, 0, 0, SGWayPoint::CARTESIAN, "Start") ); route.add_waypoint( SGWayPoint(1, 0, 0, SGWayPoint::CARTESIAN, "1") ); route.add_waypoint( SGWayPoint(2, 0, 0, SGWayPoint::CARTESIAN, "2") ); @@ -48,6 +48,6 @@ int main() route.add_waypoint(wp2, 3); dump_route(route, "added back WP2 after WP3"); - +*/ return 0; }