summaryrefslogtreecommitdiff
path: root/error.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-07-29 01:50:07 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-07-29 01:50:07 -0400
commit6215627935ddbfbd9a325f98e197511d2b7235b1 (patch)
tree2e0f9ef0941a5cb6569ed830731dbaacd1aabf09 /error.h
parente2432a4000fc48e2c79aadc2a3a14c37b723174e (diff)
downloadfork-ledger-6215627935ddbfbd9a325f98e197511d2b7235b1.tar.gz
fork-ledger-6215627935ddbfbd9a325f98e197511d2b7235b1.tar.bz2
fork-ledger-6215627935ddbfbd9a325f98e197511d2b7235b1.zip
n
Diffstat (limited to 'error.h')
-rw-r--r--error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.h b/error.h
index 7e069218..6b5202a4 100644
--- a/error.h
+++ b/error.h
@@ -25,7 +25,7 @@ class parse_error : public error
public:
parse_error(const std::string& _file, const unsigned int _line,
const std::string& reason) throw()
- : line(_line), file(_file), error(reason) {}
+ : error(reason), line(_line), file(_file) {}
virtual ~parse_error() throw() {}
virtual const char* what() const throw() {