From 4c5cc9f4a9d2f843e700bec6f4ce7bc7e9ce8f40 Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Wed, 15 Feb 2023 11:00:40 +0100 Subject: [PATCH] Attempt to fix build on MacOS --- gnucash/import-export/csv-imp/gnc-import-tx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }