Fixing compiler warnings

This commit is contained in:
Vojtech Bubnik 2021-05-03 15:00:23 +02:00
parent 0e6e60705d
commit 7563c885a1
2 changed files with 8 additions and 15 deletions

View file

@ -57,6 +57,7 @@ err:
#endif /* CLIPPER_UTILS_DEBUG */
namespace ClipperUtils {
Points EmptyPathsProvider::s_empty_points;
Points SinglePathProvider::s_end;
}
@ -143,16 +144,6 @@ static ClipperLib::Paths safety_offset(PathsProvider &&paths)
return out;
}
static ClipperLib::Paths safety_offset(const ClipperLib::Paths &paths)
{
return safety_offset<const ClipperLib::Paths&>(paths);
}
static void safety_offset(ClipperLib::Paths *paths)
{
*paths = safety_offset(*paths);
}
template<typename PathsProvider>
ClipperLib::Paths _offset(PathsProvider &&input, ClipperLib::EndType endType, const float delta, ClipperLib::JoinType joinType, double miterLimit)
{