From 7b52c24d60dad383b5e306fb05bad8870acb79f6 Mon Sep 17 00:00:00 2001 From: Momin Al-Ghosien Date: Tue, 30 Apr 2024 16:21:00 -0700 Subject: [PATCH] Removed unused method --- src/libslic3r/GCode/ConflictChecker.cpp | 5 ----- src/libslic3r/GCode/ConflictChecker.hpp | 1 - 2 files changed, 6 deletions(-) diff --git a/src/libslic3r/GCode/ConflictChecker.cpp b/src/libslic3r/GCode/ConflictChecker.cpp index 5d2dfcdd3..acf6b71f0 100644 --- a/src/libslic3r/GCode/ConflictChecker.cpp +++ b/src/libslic3r/GCode/ConflictChecker.cpp @@ -107,11 +107,6 @@ void LinesBucketQueue::emplace_back_bucket(ExtrusionLayers &&els, const void *ob } } -void LinesBucketQueue::reserve(size_t count) -{ - line_buckets.reserve(count); -} - // remove lowest and get the current bottom z float LinesBucketQueue::getCurrBottomZ() { diff --git a/src/libslic3r/GCode/ConflictChecker.hpp b/src/libslic3r/GCode/ConflictChecker.hpp index 4937a209f..eac10aac4 100644 --- a/src/libslic3r/GCode/ConflictChecker.hpp +++ b/src/libslic3r/GCode/ConflictChecker.hpp @@ -114,7 +114,6 @@ public: public: void emplace_back_bucket(ExtrusionLayers &&els, const void *objPtr, Point offset); - void reserve(size_t count); bool valid() const { return line_bucket_ptr_queue.empty() == false; } float getCurrBottomZ(); LineWithIDs getCurLines() const;