diff options
Diffstat (limited to 'src/account.h')
-rw-r--r-- | src/account.h | 4 |
1 files changed, 4 insertions, 0 deletions
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_t> xdata_; bool has_xdata() const { +#if BOOST_VERSION >= 105600 + return xdata_ != NULL; +#else return xdata_; +#endif } void clear_xdata(); xdata_t& xdata() { |