mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-10 03:22:25 +00:00
Fix asan crash on statistics step
This commit is contained in:
1 parent
cf3b992269
commit
1634cd1a3c
1 file changed
+2
@@ -177,6 +177,8 @@ private:
|
|||||||
return level<T>(r1) < level<T>(r2);
|
return level<T>(r1) < level<T>(r2);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if(it == cont.end()) return it;
|
||||||
|
|
||||||
T diff = std::abs(level<T>(*it) - lvl);
|
T diff = std::abs(level<T>(*it) - lvl);
|
||||||
|
|
||||||
if(it != cont.begin()) {
|
if(it != cont.begin()) {
|
||||||
|
|||||||
Reference in new issue
Block a user