Salome HOME
Fix of crash in issue #416
[modules/shaper.git] / src / Model / Model_ResultConstruction.cpp
index 30a1cd467c063854bc8381c20c64e830eb2a8243..aaade70ff23d3364b2fb930b5c1bc61081d5eac2 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        ModelAPI_ResultConstruction.cpp
 // Created:     07 Jul 2014
 // Author:      Mikhail PONIKAROV
@@ -9,7 +11,7 @@ void Model_ResultConstruction::setShape(std::shared_ptr<GeomAPI_Shape> theShape)
   myShape = theShape;
 }
 
-std::shared_ptr<GeomAPI_Shape>& Model_ResultConstruction::shape()
+std::shared_ptr<GeomAPI_Shape> Model_ResultConstruction::shape()
 {
   return myShape;
 }