mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-01 12:42:02 +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
|
||||
struct OutItAdaptor {
|
||||
using value_type = Line;
|
||||
using difference_type = std::ptrdiff_t;
|
||||
using pointer = Line*;
|
||||
using reference = Line&;
|
||||
using iterator_category = std::output_iterator_tag;
|
||||
using value_type [[maybe_unused]] = Line;
|
||||
using difference_type [[maybe_unused]] = std::ptrdiff_t;
|
||||
using pointer [[maybe_unused]] = Line*;
|
||||
using reference [[maybe_unused]] = Line& ;
|
||||
using iterator_category [[maybe_unused]] = std::output_iterator_tag;
|
||||
|
||||
Polygon *outpoly;
|
||||
OutItAdaptor(Polygon &out) : outpoly{&out} {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user