summaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h4
1 files changed, 2 insertions, 2 deletions
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() {}