diff options
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -174,7 +174,11 @@ public: static bool use_aux_date; virtual bool has_date() const { - return _date != boost::none; +#if BOOST_VERSION >= 105600 + return _date != NULL; +#else + return _date; +#endif } virtual date_t date() const { |