mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-27 02:31:10 -06:00
Fixing compiler warnings
This commit is contained in:
parent
0e6e60705d
commit
7563c885a1
2 changed files with 8 additions and 15 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue