summaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-20 02:14:53 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:28 -0400
commitb84f676946941df6f7e8476d77d1db0cbe7736c5 (patch)
tree9ee7c7a2d3b7496b38ad127519210adfeced2241 /parser.h
parent539370ff1b37772e9f11439f652ffd3583beeedb (diff)
downloadfork-ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.tar.gz
fork-ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.tar.bz2
fork-ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.zip
Did some optimization and memory cleanup
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() {}