diff --git a/simgear/props/propertyObject.hxx b/simgear/props/propertyObject.hxx index 9e658659..d97f9d11 100644 --- a/simgear/props/propertyObject.hxx +++ b/simgear/props/propertyObject.hxx @@ -144,9 +144,9 @@ public: #undef SG_DEF_ASSIGN_OP - SGPropertyNode* node() const + SGPropertyNode* node(bool aCreate = false) const { - return PropertyObjectBase::node(false); + return PropertyObjectBase::node(aCreate); } }; // of template PropertyObject