diff options
author | bubnikv <bubnikv@gmail.com> | 2017-05-03 19:28:22 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-05-03 19:28:22 +0300 |
commit | e90279c513a1fb1fb50bf78d7e58a74e4889d7af (patch) | |
tree | 8aa1de52f2571bc93d47524b852ff65abd7005e9 /xs/src/libslic3r/ExPolygon.hpp | |
parent | 72ae3585e415189286cdb85f6e02e4ec150084ee (diff) |
Ported the G-code generator from Perl to C++.
Removed GCode.pm
Removed the Perl bindigns for AvoidCrossingPerimeters, OozePrevention, SpiralVase, Wipe
Changed the std::set of extruder IDs to vector of IDs.
Removed some MSVC compiler warnings, removed obnoxious compiler warnings when compiling the Perl bindings.
Diffstat (limited to 'xs/src/libslic3r/ExPolygon.hpp')
-rw-r--r-- | xs/src/libslic3r/ExPolygon.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xs/src/libslic3r/ExPolygon.hpp b/xs/src/libslic3r/ExPolygon.hpp index 509d2eb93..af34694b7 100644 --- a/xs/src/libslic3r/ExPolygon.hpp +++ b/xs/src/libslic3r/ExPolygon.hpp @@ -326,7 +326,7 @@ namespace boost { namespace polygon { } // Get the winding direction of the polygon - static inline winding_direction winding(const Slic3r::ExPolygon& t) { + static inline winding_direction winding(const Slic3r::ExPolygon& /* t */) { return unknown_winding; } }; @@ -391,8 +391,8 @@ namespace boost { namespace polygon { } //don't worry about these, just return false from them - static inline bool clean(const Slic3r::ExPolygons& polygon_set) { return false; } - static inline bool sorted(const Slic3r::ExPolygons& polygon_set) { return false; } + static inline bool clean(const Slic3r::ExPolygons& /* polygon_set */) { return false; } + static inline bool sorted(const Slic3r::ExPolygons& /* polygon_set */) { return false; } }; template <> |