Salome HOME
Update "mutli" constraints
[modules/shaper.git] / src / SketchSolver / SketchSolver_Constraint.h
index 817afa58db9fd35af2aa59165f586e9bb930d9a0..3f6e0f281ff300455c1dd650d3f4c46d3002ca54 100644 (file)
@@ -58,9 +58,9 @@ public:
   { return myType; }
 
   /// \brief Verify the feature or any its attribute is used by constraint
-  bool isUsed(FeaturePtr theFeature) const;
+  virtual bool isUsed(FeaturePtr theFeature) const;
   /// \brief Verify the attribute is used by constraint
-  bool isUsed(AttributePtr theAttribute) const;
+  virtual bool isUsed(AttributePtr theAttribute) const;
 
   /// \brief Shows error message
   const std::string& error() const