Skip to content

Commit

Permalink
Path.Area: fix linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder authored and yorikvanhavre committed Mar 3, 2018
1 parent 286b252 commit 67e3bb9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Mod/Path/App/Area.cpp
Expand Up @@ -82,6 +82,7 @@
#include <ShapeExtend_WireData.hxx>
#include <ShapeFix_Wire.hxx>
#include <ShapeAnalysis_FreeBounds.hxx>
#include <TopTools_HSequenceOfShape.hxx>

#include <Base/Exception.h>
#include <Base/Tools.h>
Expand Down Expand Up @@ -1491,7 +1492,7 @@ std::vector<shared_ptr<Area> > Area::makeSections(
}
}
FC_TIME_LOG(t,"makeSection count: " << sections.size()<<", total");
return std::move(sections);
return sections;
}

TopoDS_Shape Area::getPlane(gp_Trsf *trsf) {
Expand Down Expand Up @@ -2616,7 +2617,7 @@ struct ShapeInfo{
if(max_dist>0 && d>max_dist)
break;
}
return std::move(wires);
return wires;
}
};

Expand Down Expand Up @@ -2817,7 +2818,7 @@ std::list<TopoDS_Shape> Area::sortWires(const std::list<TopoDS_Shape> &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);
Expand Down Expand Up @@ -2999,7 +3000,7 @@ std::list<TopoDS_Shape> Area::sortWires(const std::list<TopoDS_Shape> &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,
Expand Down

0 comments on commit 67e3bb9

Please sign in to comment.