1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-31 11:15:52 +00:00

Force deallocation of redundant vector content.

Call move assignment with empty vector instead of clear().
This commit is contained in:
tamasmeszaros
2019-08-29 10:24:55 +02:00
parent d3fdb0a0e6
commit 822a4a673c
+2 -2
View File
@@ -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