Correct exception specifier for arithmetic_error

This commit is contained in:
Jason Turner 2015-01-09 20:31:40 -07:00
parent 420ba68b94
commit 2f90b3ae6b

View File

@ -29,7 +29,7 @@ namespace chaiscript
struct arithmetic_error : public std::runtime_error
{
arithmetic_error(const std::string& reason) : std::runtime_error("Arithmetic error: " + reason) {}
virtual ~arithmetic_error() {}
virtual ~arithmetic_error() CHAISCRIPT_NOEXCEPT {}
};
}
}