diff options
author | bubnikv <bubnikv@gmail.com> | 2016-09-13 14:30:00 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2016-09-13 14:30:00 +0300 |
commit | 620c6c7378c4799980f63794669548c104b9bcea (patch) | |
tree | fc7aea3342539018bb19d27abd1144956eb00b4d /xs/src/libslic3r/ExtrusionSimulator.cpp | |
parent | a5b7f14dfa291039fd6971a356efd011fab84440 (diff) |
Ported from the playground branch. Various documentation and optimization.
Diffstat (limited to 'xs/src/libslic3r/ExtrusionSimulator.cpp')
-rw-r--r-- | xs/src/libslic3r/ExtrusionSimulator.cpp | 8 |
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; } }; |