From e92bcf411d2e9a55969303ba3893a017152d7c18 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 1 May 2007 04:36:49 +0000 Subject: Started using boost::optional. --- src/parser.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/parser.h') diff --git a/src/parser.h b/src/parser.h index c1289b47..a95a9e21 100644 --- a/src/parser.h +++ b/src/parser.h @@ -15,10 +15,10 @@ class parser_t virtual bool test(std::istream& in) const = 0; - virtual unsigned int parse(std::istream& in, - journal_t * journal, - account_t * master = NULL, - const string * original_file = NULL) = 0; + virtual unsigned int parse(std::istream& in, + journal_t * journal, + account_t * master = NULL, + const optional& original = optional()) = 0; }; DECLARE_EXCEPTION(parse_error); -- cgit v1.2.3