From 2aa6d77c1b73cdf624d020b3ca3aec96325e1112 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Thu, 27 Apr 2023 11:48:27 +0200 Subject: [PATCH] Attempt to fix failure in fff_print_tests on MAC Asan --- 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 f8fed0efa..4f367f175 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 - decltype(_pq) newQueue; + std::priority_queue, LinesBucketPtrComp> newQueue; for (LinesBucket &bucket : _buckets) { newQueue.push(&bucket); } std::swap(_pq, newQueue); }