From d5592ea1e325131d4a7abf5e98f67fcb5cf22287 Mon Sep 17 00:00:00 2001 From: Joe Gallo Date: Thu, 28 Aug 2014 11:04:55 -0400 Subject: #if guards for boost 1.56 compatibility --- src/item.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index beb32a04..767a0715 100644 --- a/src/item.h +++ b/src/item.h @@ -191,7 +191,11 @@ public: static bool use_aux_date; virtual bool has_date() const { +#if BOOST_VERSION >= 105600 + return _date != NULL; +#else return _date; +#endif } virtual date_t date() const { -- cgit v1.2.3