]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/instrument_mgr.cxx
Support for multiple data dirs.
[flightgear.git] / src / Instrumentation / instrument_mgr.cxx
index 80724e3a651c82bfdc5ecc2147ba393bdd80c495..dbf557eb63ae3590fe9ceadc8c67d66c6451de98 100644 (file)
@@ -110,7 +110,7 @@ bool FGInstrumentMgr::build (SGPropertyNode* config_props)
 {
     for ( int i = 0; i < config_props->nChildren(); ++i ) {
         SGPropertyNode *node = config_props->getChild(i);
-        string name = node->getName();
+        std::string name = node->getName();
 
         std::ostringstream subsystemname;
         subsystemname << "instrument-" << i << '-'
@@ -118,7 +118,7 @@ bool FGInstrumentMgr::build (SGPropertyNode* config_props)
         int index = node->getIntValue("number", 0);
         if (index > 0)
             subsystemname << '['<< index << ']';
-        string id = subsystemname.str();
+        std::string id = subsystemname.str();
       
         if ( name == "adf" ) {
             set_subsystem( id, new ADF( node ), 0.15 );