diff options
author | John Wiegley <johnw@newartisans.com> | 2015-05-17 17:50:45 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2015-05-17 17:50:45 -0500 |
commit | a78e7358ecda264175e7bc00bb5e87b9348600a8 (patch) | |
tree | 3daca0ab1b26c3f00c45608ec1914ba549b1f6d6 /src/post.h | |
parent | 7df6a515e244c0d399da2b77e16c248e50a70ed9 (diff) | |
download | fork-ledger-a78e7358ecda264175e7bc00bb5e87b9348600a8.tar.gz fork-ledger-a78e7358ecda264175e7bc00bb5e87b9348600a8.tar.bz2 fork-ledger-a78e7358ecda264175e7bc00bb5e87b9348600a8.zip |
Revert "boost::none_t no longer convertible from literal 0 in 1.58"
This reverts commit 48aec0f093ff6494a3e4f7cd5166cb4a27c16814.
Diffstat (limited to 'src/post.h')
-rw-r--r-- | src/post.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -205,7 +205,11 @@ public: mutable optional<xdata_t> xdata_; bool has_xdata() const { - return xdata_ != boost::none; +#if BOOST_VERSION >= 105600 + return xdata_ != NULL; +#else + return xdata_; +#endif } void clear_xdata() { xdata_ = none; |