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/account.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/account.h') diff --git a/src/account.h b/src/account.h index d1377c39..7411dfc2 100644 --- a/src/account.h +++ b/src/account.h @@ -261,7 +261,11 @@ public: mutable optional xdata_; bool has_xdata() const { +#if BOOST_VERSION >= 105600 + return xdata_ != NULL; +#else return xdata_; +#endif } void clear_xdata(); xdata_t& xdata() { -- cgit v1.2.3