n
This commit is contained in:
parent
e2432a4000
commit
6215627935
1 changed files with 1 additions and 1 deletions
2
error.h
2
error.h
|
|
@ -25,7 +25,7 @@ class parse_error : public error
|
||||||
public:
|
public:
|
||||||
parse_error(const std::string& _file, const unsigned int _line,
|
parse_error(const std::string& _file, const unsigned int _line,
|
||||||
const std::string& reason) throw()
|
const std::string& reason) throw()
|
||||||
: line(_line), file(_file), error(reason) {}
|
: error(reason), line(_line), file(_file) {}
|
||||||
virtual ~parse_error() throw() {}
|
virtual ~parse_error() throw() {}
|
||||||
|
|
||||||
virtual const char* what() const throw() {
|
virtual const char* what() const throw() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue