diff options
author | John Wiegley <johnw@newartisans.com> | 2015-05-11 09:42:20 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2015-05-11 09:42:20 -0500 |
commit | 2e02e0862f1029cf72a8713643dcb7892598e5fa (patch) | |
tree | 1d43be6a3bba7b3c5f631ebf09ac48d6af9cb484 /src/account.h | |
parent | c586e1e494487c43cf6da886739f69bb91a7e15b (diff) | |
parent | 68c9d649caa2c7c7f222613efe86576c379a5a7a (diff) | |
download | fork-ledger-2e02e0862f1029cf72a8713643dcb7892598e5fa.tar.gz fork-ledger-2e02e0862f1029cf72a8713643dcb7892598e5fa.tar.bz2 fork-ledger-2e02e0862f1029cf72a8713643dcb7892598e5fa.zip |
Merge pull request #417 from kljohann/boost
build fixes for boost 1.58
Diffstat (limited to 'src/account.h')
-rw-r--r-- | src/account.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/account.h b/src/account.h index 7fae93e1..8d0fb1db 100644 --- a/src/account.h +++ b/src/account.h @@ -261,11 +261,7 @@ public: mutable optional<xdata_t> xdata_; bool has_xdata() const { -#if BOOST_VERSION >= 105600 - return xdata_ != NULL; -#else - return xdata_; -#endif + return xdata_ != boost::none; } void clear_xdata(); xdata_t& xdata() { |