summaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2015-07-27 20:37:16 +0100
committerJonathan Wakely <jwakely@redhat.com>2015-07-27 20:37:16 +0100
commitbcaca24de4264f89a94069701361988007e22e58 (patch)
treeeee91e88c78ad7eb936272697261dbdea1ec3769 /src/parser.h
parent5b31641a75c3b603d53350965ff4867ac05f77e5 (diff)
downloadfork-ledger-bcaca24de4264f89a94069701361988007e22e58.tar.gz
fork-ledger-bcaca24de4264f89a94069701361988007e22e58.tar.bz2
fork-ledger-bcaca24de4264f89a94069701361988007e22e58.zip
Convert boost::optional objects to bool explicitly.
Fixes #417.
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