mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Force deallocation of redundant vector content.
Call move assignment with empty vector instead of clear().
This commit is contained in:
parent
d3fdb0a0e6
commit
822a4a673c
1 changed files with 2 additions and 2 deletions
|
@ -455,8 +455,8 @@ SLAPrint::ApplyStatus SLAPrint::apply(const Model &model, DynamicPrintConfig con
|
||||||
|
|
||||||
if(m_objects.empty()) {
|
if(m_objects.empty()) {
|
||||||
m_printer.reset();
|
m_printer.reset();
|
||||||
m_printer_input.clear();
|
m_printer_input = {};
|
||||||
m_print_statistics.clear();
|
m_print_statistics = {};
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue