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()) {
|
||||
m_printer.reset();
|
||||
m_printer_input.clear();
|
||||
m_print_statistics.clear();
|
||||
m_printer_input = {};
|
||||
m_print_statistics = {};
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
|
|
Loading…
Reference in a new issue