Salome HOME
Commit of the current operation if the preselection is activated.
[modules/shaper.git] / src / Model / Model_ResultConstruction.h
index f2581f3df275326ecbf6d2ce2c7fcce9386a7079..a1e395c5ed13919c8ae3cbc23f4074f43ae7819b 100644 (file)
@@ -30,7 +30,7 @@ class Model_ResultConstruction : public ModelAPI_ResultConstruction
   /// Sets the result
   MODEL_EXPORT virtual void setShape(std::shared_ptr<GeomAPI_Shape> theShape);
   /// Returns the shape-result produced by this feature
-  MODEL_EXPORT virtual std::shared_ptr<GeomAPI_Shape>& shape();
+  MODEL_EXPORT virtual std::shared_ptr<GeomAPI_Shape> shape();
 
   /// Sets the flag that it must be displayed in history (default is true)
   MODEL_EXPORT virtual void setIsInHistory(const bool myIsInHistory);