Fix crash
This commit is contained in:
parent
f600ea2c5b
commit
38de7e14fd
@ -694,7 +694,7 @@ void arrange(ArrangePolygons &items,
|
|||||||
|
|
||||||
auto it = std::max_element(items.begin(), items.end(),
|
auto it = std::max_element(items.begin(), items.end(),
|
||||||
[](auto &i1, auto &i2) {
|
[](auto &i1, auto &i2) {
|
||||||
return i1.bed_idx < i1.bed_idx;
|
return i1.bed_idx < i2.bed_idx;
|
||||||
});
|
});
|
||||||
|
|
||||||
size_t beds = 0;
|
size_t beds = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user