]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_props.hxx
Land the GPS/route-manager re-write. Many things are better, many other things will...
[flightgear.git] / src / Main / fg_props.hxx
index ef6ed69d906430a274ac073ee26afc0c5ece7179..8516c93c924aa0a6a4f226da39ab387408231dc8 100644 (file)
@@ -9,6 +9,7 @@
 #include <iosfwd>
 
 #include <simgear/structure/subsystem_mgr.hxx>
+#include <simgear/math/SGMath.hxx>
 
 #include <Main/globals.hxx>
 \f
@@ -533,7 +534,7 @@ fgTie (const char * name, T * obj, int index,
 class FGMakeUpperCase : public SGPropertyChangeListener {
 public:
     void valueChanged(SGPropertyNode *node) {
-        if (node->getType() != SGPropertyNode::STRING)
+        if (node->getType() != simgear::props::STRING)
             return;
 
         char *s = const_cast<char *>(node->getStringValue());