gnucash master: Attempt to fix build on MacOS

Geert Janssens gjanssens at code.gnucash.org
Wed Feb 15 05:00:46 EST 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/4c5cc9f4 (commit)
	from  https://github.com/Gnucash/gnucash/commit/a982b60f (commit)



commit 4c5cc9f4a9d2f843e700bec6f4ce7bc7e9ce8f40
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Wed Feb 15 11:00:40 2023 +0100

    Attempt to fix build on MacOS

diff --git a/gnucash/import-export/csv-imp/gnc-import-tx.cpp b/gnucash/import-export/csv-imp/gnc-import-tx.cpp
index f5a5ea53f..b2ca85ab6 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<PL_ERROR>(*parsed_lines_it) = all_errors;
+        std::get<PL_ERROR>(*parsed_lines_it) = std::move(all_errors);
     }
 }
 



Summary of changes:
 gnucash/import-export/csv-imp/gnc-import-tx.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list