]> git.mxchange.org Git - flightgear.git/blobdiff - src/Autopilot/autopilot.hxx
Fix shared library build for metar executable
[flightgear.git] / src / Autopilot / autopilot.hxx
index 56bb6c32e5535bb76ce24e3fcfe423a301ea151c..ccda272e0550059fd64839160c87ac6ccf30ba0f 100644 (file)
@@ -52,7 +52,7 @@ public:
     bool is_serviceable() const { return _serviceable; }
 
     std::string get_name() const { return _name; }
-    void set_name( std::string & name ) { _name = name; }
+    void set_name( const std::string & name ) { _name = name; }
 
     void add_component( Component * component );