summaryrefslogtreecommitdiff
path: root/error.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-08-21 02:39:33 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:32 -0400
commitdb0ef2e25731a824aa728315f2f7f6e8a41a5ddf (patch)
tree073a4ffe44699413d97e56bae001e2f69a8b9a04 /error.h
parentbec5f1c07af7948eb26a7cbafc6d191cfbb77d97 (diff)
downloadledger-db0ef2e25731a824aa728315f2f7f6e8a41a5ddf.tar.gz
ledger-db0ef2e25731a824aa728315f2f7f6e8a41a5ddf.tar.bz2
ledger-db0ef2e25731a824aa728315f2f7f6e8a41a5ddf.zip
*** empty log message ***
Diffstat (limited to 'error.h')
-rw-r--r--error.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.h b/error.h
index c4b3bb88..7f77db0f 100644
--- a/error.h
+++ b/error.h
@@ -28,7 +28,7 @@ class file_context : public error_context
public:
file_context(const std::string& _file, unsigned long _line,
const std::string& desc = "") throw()
- : file(_file), line(_line), error_context(desc) {}
+ : error_context(desc), file(_file), line(_line) {}
virtual ~file_context() throw() {}
virtual void describe(std::ostream& out) const throw() {
@@ -46,7 +46,7 @@ class line_context : public error_context {
line_context(const std::string& _line, long _pos,
const std::string& desc = "") throw()
- : line(_line), pos(_pos), error_context(desc) {}
+ : error_context(desc), line(_line), pos(_pos) {}
virtual ~line_context() throw() {}
virtual void describe(std::ostream& out) const throw() {