From 48aec0f093ff6494a3e4f7cd5166cb4a27c16814 Mon Sep 17 00:00:00 2001 From: Johann Klähn Date: Sun, 10 May 2015 12:45:28 +0200 Subject: boost::none_t no longer convertible from literal 0 in 1.58 Instead we use boost::none, which has been documented since boost 1.34.0. --- src/item.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index ba812175..2c349bdc 100644 --- a/src/item.h +++ b/src/item.h @@ -174,11 +174,7 @@ public: static bool use_aux_date; virtual bool has_date() const { -#if BOOST_VERSION >= 105600 - return _date != NULL; -#else - return _date; -#endif + return _date != boost::none; } virtual date_t date() const { -- cgit v1.2.3