]> git.mxchange.org Git - flightgear.git/commitdiff
Work around a MipsPro 7.2 STL problem
authorehofman <ehofman>
Thu, 2 Oct 2003 08:47:33 +0000 (08:47 +0000)
committerehofman <ehofman>
Thu, 2 Oct 2003 08:47:33 +0000 (08:47 +0000)
src/Instrumentation/adf.cxx

index 7221da184d1d7225ae9f08070907fe46f12a0b0b..dcd1a66ce58245749ab21b5e311b61433e793ac8 100644 (file)
@@ -114,7 +114,8 @@ ADF::update (double delta_time_sec)
 
                                 // If it's off, don't bother.
     string mode = _mode_node->getStringValue();
-    if (!_transmitter_valid || (mode != "bfo" && mode != "adf")) {
+    if (!_transmitter_valid || (mode != string("bfo") && mode != string("adf")))
+    {
         set_bearing(delta_time_sec, 90);
         _ident_node->setStringValue("");
         return;