]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Task #3230: Sketcher: create a curve passing through selected points or vertices...
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Wed, 24 Jun 2020 13:45:49 +0000 (16:45 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Wed, 24 Jun 2020 13:45:58 +0000 (16:45 +0300)
Fix compilation error on Linux

src/SketchPlugin/SketchPlugin_CurveFitting.cpp

index 9c16a6eb65521c73d00bf4560b322278e133b73a..f775679bda976b5196065188bf9c44dd19ed79d1 100644 (file)
@@ -52,11 +52,11 @@ static void convertTo3D(SketchPlugin_Sketch* theSketch,
                         std::list<GeomPointPtr>& thePoints);
 
 static GeomEdgePtr buildInterpolationCurve(SketchPlugin_Sketch* theSketch,
-                                           AttributeRefAttrListPtr& thePoints,
+                                           AttributeRefAttrListPtr thePoints,
                                            bool thePeriodic,
                                            bool theClosed);
 static GeomEdgePtr buildApproximationCurve(SketchPlugin_Sketch* theSketch,
-                                           AttributeRefAttrListPtr& thePoints,
+                                           AttributeRefAttrListPtr thePoints,
                                            double thePrecision,
                                            bool thePeriodic,
                                            bool theClosed);
@@ -353,7 +353,7 @@ void convertTo3D(SketchPlugin_Sketch* theSketch,
 }
 
 GeomEdgePtr buildInterpolationCurve(SketchPlugin_Sketch* theSketch,
-                                    AttributeRefAttrListPtr& thePoints,
+                                    AttributeRefAttrListPtr thePoints,
                                     bool thePeriodic,
                                     bool theClosed)
 {
@@ -371,7 +371,7 @@ GeomEdgePtr buildInterpolationCurve(SketchPlugin_Sketch* theSketch,
 }
 
 GeomEdgePtr buildApproximationCurve(SketchPlugin_Sketch* theSketch,
-                                    AttributeRefAttrListPtr& thePoints,
+                                    AttributeRefAttrListPtr thePoints,
                                     double thePrecision,
                                     bool thePeriodic,
                                     bool theClosed)