1
0
Fork 0

Work around a MipsPro 7.2 STL problem

This commit is contained in:
ehofman 2003-10-02 08:47:33 +00:00
parent 03741a6936
commit 2794a5c288

View 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;