Commit c90cd020 authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED should declare noexcept too

parent e6f2d6b2
......@@ -46,13 +46,14 @@ public:
AbortException(std::string s) {
reason = s;
virtual ~AbortException() throw() {}
virtual ~AbortException() {}
/// get the detailed reason from the exception
virtual const char* what() const {
virtual const char* what() const noexcept {
return reason.c_str();
std::string reason;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment