Salome HOME
Fix for the issue #937 and crashes:
[modules/shaper.git] / src / Model / Model_AttributeRefList.h
index c7d909b6b8bd0fb1e3e58f72a12458e17d4eaceb..52de359b1ea41042959c5f7b0da4546c87fee383 100644 (file)
@@ -50,6 +50,9 @@ class Model_AttributeRefList : public ModelAPI_AttributeRefList
   /// Substitutes the feature by another one. Does nothing if such object is not found.
   MODEL_EXPORT virtual void substitute(const ObjectPtr& theCurrent, const ObjectPtr& theNew);
 
+  /// Removes the last element in the list.
+  MODEL_EXPORT virtual void removeLast();
+
   /// Returns true if attribute was  initialized by some value
   MODEL_EXPORT virtual bool isInitialized();
  protected: