diff --git a/src/Mod/Path/App/Area.cpp b/src/Mod/Path/App/Area.cpp index b9af96280f..13566bd1f1 100644 --- a/src/Mod/Path/App/Area.cpp +++ b/src/Mod/Path/App/Area.cpp @@ -1490,7 +1490,7 @@ std::vector > Area::makeSections( } } FC_TIME_LOG(t,"makeSection count: " << sections.size()<<", total"); - return std::move(sections); + return sections; } TopoDS_Shape Area::getPlane(gp_Trsf *trsf) { @@ -2582,7 +2582,7 @@ struct ShapeInfo{ if(max_dist>0 && d>max_dist) break; } - return std::move(wires); + return wires; } }; @@ -2783,7 +2783,7 @@ std::list Area::sortWires(const std::list &shapes, foreachSubshape(shape, WireOrienter(wires,dir,orientation,direction), TopAbs_WIRE); } - return std::move(wires); + return wires; } ShapeParams rparams(abscissa,nearest_k>0?nearest_k:1,orientation,direction); @@ -2965,7 +2965,7 @@ std::list Area::sortWires(const std::list &shapes, FC_DURATION_LOG(rparams.rd,"rtree clean"); FC_DURATION_LOG(rparams.xd,"BRepExtrema"); FC_TIME_LOG(t,"sortWires total"); - return std::move(wires); + return wires; } static inline void addParameter(bool verbose, Command &cmd, const char *name, diff --git a/src/Mod/Path/App/FeatureArea.cpp b/src/Mod/Path/App/FeatureArea.cpp index 4f8b1b3dc6..6fb4ca09d2 100644 --- a/src/Mod/Path/App/FeatureArea.cpp +++ b/src/Mod/Path/App/FeatureArea.cpp @@ -202,7 +202,7 @@ std::list FeatureAreaView::getShapes() { count = all_shapes.size(); for(int i=index;i