Salome HOME
Optimization for big sketched (from unit tests)
[modules/shaper.git] / src / ModelAPI / ModelAPI_CompositeFeature.h
index 0814141b71830ecc0b49527a1ab9b2c45cfefda0..4a86409e2214825cffba19f8263846d9c97dc0b1 100644 (file)
@@ -28,7 +28,7 @@ public:
   virtual int numberOfSubs(bool forTree = false) const = 0;
 
   /// Returns the sub-feature by zero-base index
-  virtual std::shared_ptr<ModelAPI_Feature> subFeature(const int theIndex, bool forTree = false) const = 0;
+  virtual std::shared_ptr<ModelAPI_Feature> subFeature(const int theIndex, bool forTree = false) = 0;
 
   /// Returns the sub-feature unique identifier in this composite feature by zero-base index
   virtual int subFeatureId(const int theIndex) const = 0;