]> git.mxchange.org Git - simgear.git/blobdiff - simgear/props/condition.cxx
canvas::Layout: support for contents margins.
[simgear.git] / simgear / props / condition.cxx
index 04b892e53558bdc0b9bfa4f7aca07d7b974434b2..1da575a4dbfe3c51623f59fc8633f5ed627ac373 100644 (file)
@@ -69,7 +69,7 @@ public:
   virtual bool test () const;
   virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const;
 private:
-  SGSharedPtr<SGCondition> _condition;
+  SGConditionRef _condition;
 };
 
 
@@ -89,7 +89,7 @@ public:
   virtual void addCondition (SGCondition * condition);
   virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const;
 private:
-  std::vector<SGSharedPtr<SGCondition> > _conditions;
+  std::vector<SGConditionRef> _conditions;
 };
 
 
@@ -109,7 +109,7 @@ public:
   virtual void addCondition (SGCondition * condition);
   virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const;
 private:
-  std::vector<SGSharedPtr<SGCondition> > _conditions;
+  std::vector<SGConditionRef> _conditions;
 };