Correct exception specifier for arithmetic_error
This commit is contained in:
parent
420ba68b94
commit
2f90b3ae6b
@ -29,7 +29,7 @@ namespace chaiscript
|
|||||||
struct arithmetic_error : public std::runtime_error
|
struct arithmetic_error : public std::runtime_error
|
||||||
{
|
{
|
||||||
arithmetic_error(const std::string& reason) : std::runtime_error("Arithmetic error: " + reason) {}
|
arithmetic_error(const std::string& reason) : std::runtime_error("Arithmetic error: " + reason) {}
|
||||||
virtual ~arithmetic_error() {}
|
virtual ~arithmetic_error() CHAISCRIPT_NOEXCEPT {}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user