Fixed compilation of ClipperUtils on GCC, which is more strict
than VS2013 compiler.
This commit is contained in:
parent
e64dcf5e59
commit
ddea33d93a
1 changed files with 2 additions and 1 deletions
|
@ -463,7 +463,8 @@ ExPolygons
|
||||||
_clipper_ex(ClipperLib::ClipType clipType, const Polygons &subject,
|
_clipper_ex(ClipperLib::ClipType clipType, const Polygons &subject,
|
||||||
const Polygons &clip, bool safety_offset_)
|
const Polygons &clip, bool safety_offset_)
|
||||||
{
|
{
|
||||||
return PolyTreeToExPolygons(_clipper_do<ClipperLib::PolyTree>(clipType, subject, clip, ClipperLib::pftNonZero, safety_offset_));
|
ClipperLib::PolyTree polytree = _clipper_do<ClipperLib::PolyTree>(clipType, subject, clip, ClipperLib::pftNonZero, safety_offset_);
|
||||||
|
return PolyTreeToExPolygons(polytree);
|
||||||
}
|
}
|
||||||
|
|
||||||
Polylines
|
Polylines
|
||||||
|
|
Loading…
Reference in a new issue