From e64902ae8c08bcff3c4b13edac0adb7d42e58bfe Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Thu, 28 May 2015 12:03:48 +0200 Subject: [PATCH] Amend previous patch also for PropertyObject --- simgear/props/propertyObject.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: };