gnucash unstable: Make travis happy

Geert Janssens gjanssens at code.gnucash.org
Sat Feb 24 15:36:48 EST 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/10ab87d9 (commit)
	from  https://github.com/Gnucash/gnucash/commit/61a21d12 (commit)



commit 10ab87d95c2ad59a95383ee99ed5669c2893cb80
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat Feb 24 21:36:39 2018 +0100

    Make travis happy
    
    On older stdlibc++ the default constructor of a stringstream is deleted.

diff --git a/libgnucash/core-utils/gnc-filepath-utils.cpp b/libgnucash/core-utils/gnc-filepath-utils.cpp
index ecf4db9..38fe1c9 100644
--- a/libgnucash/core-utils/gnc-filepath-utils.cpp
+++ b/libgnucash/core-utils/gnc-filepath-utils.cpp
@@ -598,7 +598,7 @@ static std::string migrate_gnc_datahome()
     gen.add_messages_domain(PACKAGE);
 
 //    std::locale::global(gen(""));
-    auto migration_msg = std::stringstream ();
+    std::stringstream migration_msg;
     migration_msg.imbue(gen(""));
 
     if (copy_recursive (old_dir,



Summary of changes:
 libgnucash/core-utils/gnc-filepath-utils.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list