diff options
author | John Wiegley <johnw@newartisans.com> | 2015-07-27 18:11:19 -0700 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2015-07-27 18:11:19 -0700 |
commit | 21c3569a70c675c388f0d349a6ba8512d3c141aa (patch) | |
tree | eee91e88c78ad7eb936272697261dbdea1ec3769 /src/parser.h | |
parent | 5b31641a75c3b603d53350965ff4867ac05f77e5 (diff) | |
parent | bcaca24de4264f89a94069701361988007e22e58 (diff) | |
download | fork-ledger-21c3569a70c675c388f0d349a6ba8512d3c141aa.tar.gz fork-ledger-21c3569a70c675c388f0d349a6ba8512d3c141aa.tar.bz2 fork-ledger-21c3569a70c675c388f0d349a6ba8512d3c141aa.zip |
Merge pull request #422 from jwakely/issue-417
Convert boost::optional objects to bool explicitly.
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 2 |
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 |