diff --git a/gnucash/import-export/csv-imp/gnc-import-tx.cpp b/gnucash/import-export/csv-imp/gnc-import-tx.cpp index f5a5ea53f3..b2ca85ab67 100644 --- a/gnucash/import-export/csv-imp/gnc-import-tx.cpp +++ b/gnucash/import-export/csv-imp/gnc-import-tx.cpp @@ -892,7 +892,7 @@ GncTxImport::set_column_type (uint32_t position, GncTransPropType type, bool for /* Report errors if there are any */ auto all_errors = split_props->get_pre_trans()->errors(); all_errors.merge (split_props->errors()); - std::get(*parsed_lines_it) = all_errors; + std::get(*parsed_lines_it) = std::move(all_errors); } }