Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xs/src/libslic3r/ExtrusionSimulator.cpp')
-rw-r--r--xs/src/libslic3r/ExtrusionSimulator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xs/src/libslic3r/ExtrusionSimulator.cpp b/xs/src/libslic3r/ExtrusionSimulator.cpp
index 2dbef9a25..83422cdee 100644
--- a/xs/src/libslic3r/ExtrusionSimulator.cpp
+++ b/xs/src/libslic3r/ExtrusionSimulator.cpp
@@ -1,7 +1,7 @@
// Optimize the extrusion simulator to the bones.
-#pragma GCC optimize ("O3")
-#undef SLIC3R_DEBUG
-#define NDEBUG
+//#pragma GCC optimize ("O3")
+//#undef SLIC3R_DEBUG
+//#define NDEBUG
#include <cmath>
#include <cassert>
@@ -640,7 +640,7 @@ struct Cell
// Height of the covered part in excess to the expected layer height.
float excess_height;
- bool operator<(const Cell &c2) {
+ bool operator<(const Cell &c2) const {
return this->excess_height < c2.excess_height;
}
};