From 2794a5c2884cad6d41ca71e11eb137c7602f5c60 Mon Sep 17 00:00:00 2001 From: ehofman Date: Thu, 2 Oct 2003 08:47:33 +0000 Subject: [PATCH] Work around a MipsPro 7.2 STL problem --- src/Instrumentation/adf.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5