#include <simgear/debug/logstream.hxx>
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/io/iochannel.hxx>
+#include <simgear/timing/sg_time.hxx>
#include <FDM/flight.hxx>
#include <Main/globals.hxx>
#include "nmea.hxx"
+SG_USING_NAMESPACE(std);
+
FGNMEA::FGNMEA() {
}
string alt_units = msg.substr(begin, end - begin);
begin = end + 1;
- if ( alt_units != (string)"F" ) {
+ if ( alt_units != "F" ) {
altitude *= SG_METER_TO_FEET;
}