gnucash master: Fix some compilers not considering plain enums as namespaces.

John Ralls jralls at code.gnucash.org
Sat Dec 26 15:18:37 EST 2015


Updated	 via  https://github.com/Gnucash/gnucash/commit/ab41c01d (commit)
	from  https://github.com/Gnucash/gnucash/commit/e0495fe2 (commit)



commit ab41c01d86e11bf50abe817d9e87a5f2b258e9cf
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Dec 26 12:18:27 2015 -0800

    Fix some compilers not considering plain enums as namespaces.

diff --git a/src/libqof/qof/gnc-datetime.cpp b/src/libqof/qof/gnc-datetime.cpp
index 9f9535f..0da3e36 100644
--- a/src/libqof/qof/gnc-datetime.cpp
+++ b/src/libqof/qof/gnc-datetime.cpp
@@ -41,7 +41,7 @@ using PTime = boost::posix_time::ptime;
 using LDT = boost::local_time::local_date_time;
 using Duration = boost::posix_time::time_duration;
 using LDTBase = boost::local_time::local_date_time_base<PTime, boost::date_time::time_zone_base<PTime, char>>;
-using boost::date_time::special_values::not_a_date_time;
+using boost::date_time::not_a_date_time;
 using time64 = int64_t;
 
 static const TimeZoneProvider tzp;



Summary of changes:
 src/libqof/qof/gnc-datetime.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list