diff --git a/src/ModelingAlgorithms/TKShHealing/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.cxx b/src/ModelingAlgorithms/TKShHealing/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.cxx index 55441ff25e..0edd195158 100644 --- a/src/ModelingAlgorithms/TKShHealing/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.cxx +++ b/src/ModelingAlgorithms/TKShHealing/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.cxx @@ -2129,9 +2129,9 @@ void ShapeConstruct_ProjectCurveOnSurface::insertAdditionalPointOrAdjust( aNewPoints2d.SetValue(i + 1, thePoints2d(i)); } - thePoints = aNewPoints; - theParams = aNewParams; - thePoints2d = aNewPoints2d; + thePoints = std::move(aNewPoints); + theParams = std::move(aNewParams); + thePoints2d = std::move(aNewPoints2d); theIndex++; } else