]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/panel_io.cxx
Make adf volume and adf on/off seperate properties.
[flightgear.git] / src / Cockpit / panel_io.cxx
index 14f4358af25ecf966eddae722df9fc88ccfb7241..f3922b8dac9db8d56b247f3eb40f41298f44ab0e 100644 (file)
@@ -45,7 +45,6 @@
 #include <GUI/gui.h>
 
 #include "panel.hxx"
-#include "steam.hxx"
 #include "panel_io.hxx"
 
 //built-in layers
@@ -549,7 +548,7 @@ readLayer (const SGPropertyNode * node, float w_scale, float h_scale)
 static FGPanelInstrument *
 readInstrument (const SGPropertyNode * node)
 {
-  const string &name = node->getStringValue("name");
+  const string name = node->getStringValue("name");
   int x = node->getIntValue("x", -1);
   int y = node->getIntValue("y", -1);
   int real_w = node->getIntValue("w", -1);