]> git.mxchange.org Git - simgear.git/commitdiff
Amend previous patch also for PropertyObject<string>
authorTorsten Dreyer <torsten@t3r.de>
Thu, 28 May 2015 10:03:48 +0000 (12:03 +0200)
committerTorsten Dreyer <torsten@t3r.de>
Thu, 28 May 2015 10:03:48 +0000 (12:03 +0200)
simgear/props/propertyObject.hxx

index d97f9d11f109a598bfbb92ab770961354966c20c..90e0101a95542933c30735ae9d1c625f9f20a1a8 100644 (file)
@@ -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:
 };