From bcaca24de4264f89a94069701361988007e22e58 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Mon, 27 Jul 2015 20:37:16 +0100 Subject: Convert boost::optional objects to bool explicitly. Fixes #417. --- src/parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser.h') 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& original_string = NULL); + const optional& original_string = boost::none); }; } // namespace ledger -- cgit v1.2.3