1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Fixing another clang complaint

This commit is contained in:
Vojtech Bubnik
2021-05-25 20:03:05 +02:00
parent c3cd2c7f55
commit 8a297be74e
+1 -1
View File
@@ -320,7 +320,7 @@ static std::vector<std::vector<ExPolygons>> 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.