Fix some code which clang didn't like
This commit is contained in:
parent
a6de24461e
commit
2157164271
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue