gnucash stable: [import-main-matcher.cpp] use std::unique_ptr to benefit from RAII

Christopher Lam clam at code.gnucash.org
Wed Mar 6 19:32:54 EST 2024


Updated	 via  https://github.com/Gnucash/gnucash/commit/6a87388b (commit)
	from  https://github.com/Gnucash/gnucash/commit/0511cd1a (commit)



commit 6a87388bc8498e0683ec51fffd49e8a228091c10
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Mar 5 20:54:01 2024 +0800

    [import-main-matcher.cpp] use std::unique_ptr to benefit from RAII
    
    thus gtk_tree_row_reference_free is handled for us.
    
    IIUC this does not significantly affect the effort required to upgrade
    to gtk4 or gtkmm.



Summary of changes:
 gnucash/import-export/import-main-matcher.cpp | 30 ++++++++++++++++-----------
 1 file changed, 18 insertions(+), 12 deletions(-)



More information about the gnucash-patches mailing list