From: ehofman Date: Thu, 2 Oct 2003 08:47:33 +0000 (+0000) Subject: Work around a MipsPro 7.2 STL problem X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2794a5c2884cad6d41ca71e11eb137c7602f5c60;p=flightgear.git Work around a MipsPro 7.2 STL problem --- diff --git a/src/Instrumentation/adf.cxx b/src/Instrumentation/adf.cxx index 7221da184..dcd1a66ce 100644 --- a/src/Instrumentation/adf.cxx +++ b/src/Instrumentation/adf.cxx @@ -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;