]> git.mxchange.org Git - flightgear.git/blobdiff - src/Autopilot/digitalcomponent.hxx
Cleanup, no functional change
[flightgear.git] / src / Autopilot / digitalcomponent.hxx
index afff879ba81a0d0d0ec4e2a072cdb9f4d3bd84bb..ade691635e82bea8d3070e44985087751b19a6eb 100644 (file)
@@ -62,7 +62,8 @@ inline DigitalOutput::DigitalOutput() : _inverted(false)
 
 inline void DigitalOutput::setProperty( SGPropertyNode_ptr node ) 
 { 
-  _node->setBoolValue( (_node = node)->getBoolValue() );
+  _node = node;
+  _node->setBoolValue( node->getBoolValue() );
 }
 
 inline bool DigitalOutput::getValue() const 
@@ -121,11 +122,14 @@ protected:
     /**
      * @brief Over-rideable hook method to allow derived classes to refine top-level
      * node parsing. 
-     * @param aName
-     * @param aNode
+     * @param cfg_node
+     * @param cfg_name
+     * @param prop_root
      * @return true if the node was handled, false otherwise.
      */
-    virtual bool configure( const std::string & nodeName, SGPropertyNode_ptr configNode );
+    virtual bool configure( SGPropertyNode& cfg_node,
+                            const std::string& cfg_name,
+                            SGPropertyNode& prop_root );
 };
 
 }