summaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
authorJohann Klähn <kljohann@gmail.com>2015-05-10 12:45:28 +0200
committerJohann Klähn <kljohann@gmail.com>2015-05-10 12:50:19 +0200
commit48aec0f093ff6494a3e4f7cd5166cb4a27c16814 (patch)
tree6b3ffbb5271ee7b30afe27d24339551886fe6c2e /src/parser.h
parentc586e1e494487c43cf6da886739f69bb91a7e15b (diff)
downloadfork-ledger-48aec0f093ff6494a3e4f7cd5166cb4a27c16814.tar.gz
fork-ledger-48aec0f093ff6494a3e4f7cd5166cb4a27c16814.tar.bz2
fork-ledger-48aec0f093ff6494a3e4f7cd5166cb4a27c16814.zip
boost::none_t no longer convertible from literal 0 in 1.58
Instead we use boost::none, which has been documented since boost 1.34.0.
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.h b/src/parser.h
index e46fc719..25c4a7e3 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -118,7 +118,7 @@ public:
ptr_op_t parse(std::istream& in,
const parse_flags_t& flags = PARSE_DEFAULT,
- const optional<string>& original_string = NULL);
+ const optional<string>& original_string = boost::none);
};
} // namespace ledger