mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-02 16:10:41 +08:00
Fix warnings with gcc like compilers
This commit is contained in:
parent
c613669718
commit
8ab29e3080
@ -279,11 +279,11 @@ void nfp_convex_convex(const Polygon &fixed, const Polygon &movable, Polygon &po
|
|||||||
|
|
||||||
// Output iterator adapter for std::merge
|
// Output iterator adapter for std::merge
|
||||||
struct OutItAdaptor {
|
struct OutItAdaptor {
|
||||||
using value_type = Line;
|
using value_type [[maybe_unused]] = Line;
|
||||||
using difference_type = std::ptrdiff_t;
|
using difference_type [[maybe_unused]] = std::ptrdiff_t;
|
||||||
using pointer = Line*;
|
using pointer [[maybe_unused]] = Line*;
|
||||||
using reference = Line&;
|
using reference [[maybe_unused]] = Line& ;
|
||||||
using iterator_category = std::output_iterator_tag;
|
using iterator_category [[maybe_unused]] = std::output_iterator_tag;
|
||||||
|
|
||||||
Polygon *outpoly;
|
Polygon *outpoly;
|
||||||
OutItAdaptor(Polygon &out) : outpoly{&out} {}
|
OutItAdaptor(Polygon &out) : outpoly{&out} {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user