From b84f676946941df6f7e8476d77d1db0cbe7736c5 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 20 Apr 2007 02:14:53 +0000 Subject: Did some optimization and memory cleanup --- parser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parser.h') diff --git a/parser.h b/parser.h index 25f880fc..837eadc1 100644 --- a/parser.h +++ b/parser.h @@ -21,12 +21,12 @@ class parser_t virtual unsigned int parse(std::istream& in, journal_t * journal, account_t * master = NULL, - const std::string * original_file = NULL) = 0; + const string * original_file = NULL) = 0; }; class parse_error : public error { public: - parse_error(const std::string& _reason, + parse_error(const string& _reason, error_context * _ctxt = NULL) throw() : error(_reason, _ctxt) {} virtual ~parse_error() throw() {} -- cgit v1.2.3