From 34ec7c507b94333faa3f78393cd2c9eaebfd7987 Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Sat, 3 Mar 2018 06:23:07 +0800 Subject: [PATCH] Path.Area: fix linux build --- src/Mod/Path/App/Area.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Mod/Path/App/Area.cpp b/src/Mod/Path/App/Area.cpp index a23d29557d..e993583aa9 100644 --- a/src/Mod/Path/App/Area.cpp +++ b/src/Mod/Path/App/Area.cpp @@ -82,6 +82,7 @@ #include #include #include +#include #include #include @@ -1491,7 +1492,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) { @@ -2616,7 +2617,7 @@ struct ShapeInfo{ if(max_dist>0 && d>max_dist) break; } - return std::move(wires); + return wires; } }; @@ -2817,7 +2818,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); @@ -2999,7 +3000,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,