1
0
Fork 0

Fix some code which clang didn't like

This commit is contained in:
James Turner 2011-10-23 15:33:00 +01:00
parent a6de24461e
commit 2157164271

View file

@ -62,7 +62,8 @@ inline DigitalOutput::DigitalOutput() : _inverted(false)
inline void DigitalOutput::setProperty( SGPropertyNode_ptr node ) inline void DigitalOutput::setProperty( SGPropertyNode_ptr node )
{ {
_node->setBoolValue( (_node = node)->getBoolValue() ); _node = node;
_node->setBoolValue( node->getBoolValue() );
} }
inline bool DigitalOutput::getValue() const inline bool DigitalOutput::getValue() const