mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Making GCC happy.
This commit is contained in:
@@ -261,9 +261,9 @@ static TResult expand_paths(PathsProvider &&paths, float offset, ClipperLib::Joi
|
|||||||
|
|
||||||
// used by shrink_paths()
|
// used by shrink_paths()
|
||||||
template<class Container> static void remove_outermost_polygon(Container & solution);
|
template<class Container> static void remove_outermost_polygon(Container & solution);
|
||||||
template<> static void remove_outermost_polygon<ClipperLib::Paths>(ClipperLib::Paths &solution)
|
template<> void remove_outermost_polygon<ClipperLib::Paths>(ClipperLib::Paths &solution)
|
||||||
{ if (! solution.empty()) solution.erase(solution.begin()); }
|
{ if (! solution.empty()) solution.erase(solution.begin()); }
|
||||||
template<> static void remove_outermost_polygon<ClipperLib::PolyTree>(ClipperLib::PolyTree &solution)
|
template<> void remove_outermost_polygon<ClipperLib::PolyTree>(ClipperLib::PolyTree &solution)
|
||||||
{ solution.RemoveOutermostPolygon(); }
|
{ solution.RemoveOutermostPolygon(); }
|
||||||
|
|
||||||
template<class TResult, typename PathsProvider>
|
template<class TResult, typename PathsProvider>
|
||||||
|
|||||||
Reference in New Issue
Block a user