summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/item.h b/src/item.h
index 2c349bdc..ba812175 100644
--- a/src/item.h
+++ b/src/item.h
@@ -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 {