Salome HOME
Initial implementation of restoreByName selector method
[modules/shaper.git] / src / Model / Model_Data.h
index e2a6a7994605b60b02ce8007ee44ac9b751760ac..2ed26625f42b0da7b4a12cd01cbaeea42d30e7f5 100644 (file)
@@ -172,7 +172,7 @@ class Model_Data : public ModelAPI_Data
   MODEL_EXPORT virtual bool isValid();
 
   /// Returns the label where the shape must be stored (used in ResultBody)
-  TDF_Label shapeLab()
+  TDF_Label shapeLab() const
   {
     return myLab.IsNull() ? myLab : myLab.Father().FindChild(2);
   }