From: Torsten Dreyer Date: Thu, 28 May 2015 10:03:48 +0000 (+0200) Subject: Amend previous patch also for PropertyObject X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e64902ae8c08bcff3c4b13edac0adb7d42e58bfe;p=simgear.git Amend previous patch also for PropertyObject --- diff --git a/simgear/props/propertyObject.hxx b/simgear/props/propertyObject.hxx index d97f9d11..90e0101a 100644 --- a/simgear/props/propertyObject.hxx +++ b/simgear/props/propertyObject.hxx @@ -237,9 +237,9 @@ public: return (s == value); } - SGPropertyNode* node() const + SGPropertyNode* node(bool aCreate = false) const { - return PropertyObjectBase::node(false); + return PropertyObjectBase::node(aCreate); } private: };