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

View file

@ -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