summaryrefslogtreecommitdiff
path: root/src/account.h
diff options
context:
space:
mode:
authorJoe Gallo <joegallo@gmail.com>2014-08-28 11:04:55 -0400
committerJoe Gallo <joegallo@gmail.com>2014-08-28 11:04:55 -0400
commitd5592ea1e325131d4a7abf5e98f67fcb5cf22287 (patch)
tree23fb9715c255d297001d259adfee1e629467bdf6 /src/account.h
parent948f5fea2818df2e4793557505914bbc859fc193 (diff)
downloadfork-ledger-d5592ea1e325131d4a7abf5e98f67fcb5cf22287.tar.gz
fork-ledger-d5592ea1e325131d4a7abf5e98f67fcb5cf22287.tar.bz2
fork-ledger-d5592ea1e325131d4a7abf5e98f67fcb5cf22287.zip
#if guards for boost 1.56 compatibility
Diffstat (limited to 'src/account.h')
-rw-r--r--src/account.h4
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() {