Fix of the ShortestPath.hpp interface: Provide non-move variant.

This commit is contained in:
bubnikv 2019-09-27 18:47:08 +02:00
parent 85ea0396a4
commit 50d3894e32

View File

@ -23,6 +23,7 @@ void reorder_extrusion_paths(std::vector<Extrusi
void chain_and_reorder_extrusion_paths(std::vector<ExtrusionPath> &extrusion_paths, const Point *start_near = nullptr);
Polylines chain_polylines(Polylines &&src, const Point *start_near = nullptr);
inline Polylines chain_polylines(const Polylines& src, const Point* start_near = nullptr) { Polylines tmp(src); return chain_polylines(std::move(tmp)); }
std::vector<ClipperLib::PolyNode*> chain_clipper_polynodes(const Points &points, const std::vector<ClipperLib::PolyNode*> &items);