summaryrefslogtreecommitdiff
path: root/error.h
diff options
context:
space:
mode:
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() {