Revert of 00e440e3006d43957f3e865d225b340c3be2e1fd
This commit is contained in:
parent
2aa6d77c1b
commit
0f15eb6600
@ -100,7 +100,7 @@ void LinesBucketQueue::emplace_back_bucket(std::vector<ExtrusionPaths> &&paths,
|
||||
_pq.push(&_buckets.back());
|
||||
auto newSize = _buckets.capacity();
|
||||
if (oldSize != newSize) { // pointers change
|
||||
std::priority_queue<LinesBucket*, std::vector<LinesBucket*>, LinesBucketPtrComp> newQueue;
|
||||
decltype(_pq) newQueue;
|
||||
for (LinesBucket &bucket : _buckets) { newQueue.push(&bucket); }
|
||||
std::swap(_pq, newQueue);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user