From 0f15eb660046360902cfad4e2e4ec9c074dc26f1 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Thu, 27 Apr 2023 13:04:44 +0200 Subject: [PATCH] Revert of 00e440e3006d43957f3e865d225b340c3be2e1fd --- src/libslic3r/GCode/ConflictChecker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/GCode/ConflictChecker.cpp b/src/libslic3r/GCode/ConflictChecker.cpp index 4f367f175..f8fed0efa 100644 --- a/src/libslic3r/GCode/ConflictChecker.cpp +++ b/src/libslic3r/GCode/ConflictChecker.cpp @@ -100,7 +100,7 @@ void LinesBucketQueue::emplace_back_bucket(std::vector &&paths, _pq.push(&_buckets.back()); auto newSize = _buckets.capacity(); if (oldSize != newSize) { // pointers change - std::priority_queue, LinesBucketPtrComp> newQueue; + decltype(_pq) newQueue; for (LinesBucket &bucket : _buckets) { newQueue.push(&bucket); } std::swap(_pq, newQueue); }