Work around a MipsPro 7.2 STL problem
This commit is contained in:
parent
03741a6936
commit
2794a5c288
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue