From 8a297be74e5cfab7750324f5fa8b3fd7691016b8 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Tue, 25 May 2021 20:03:05 +0200 Subject: [PATCH] Fixing another clang complaint --- src/libslic3r/PrintObjectSlice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/PrintObjectSlice.cpp b/src/libslic3r/PrintObjectSlice.cpp index 892e93c7c3..b2173367ca 100644 --- a/src/libslic3r/PrintObjectSlice.cpp +++ b/src/libslic3r/PrintObjectSlice.cpp @@ -320,7 +320,7 @@ static std::vector> slices_to_regions( int region_id; ObjectID volume_id; bool empty() const { return region_id < 0 || expolygons.empty(); } - bool operator<(const RegionSlice &rhs) { + bool operator<(const RegionSlice &rhs) const { bool this_empty = this->empty(); bool rhs_empty = rhs.empty(); // Sort the empty items to the end of the list.