From 2f90b3ae6bec2b77f1f9d7bf98212c001230305c Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Fri, 9 Jan 2015 20:31:40 -0700 Subject: [PATCH] Correct exception specifier for arithmetic_error --- include/chaiscript/dispatchkit/boxed_number.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/chaiscript/dispatchkit/boxed_number.hpp b/include/chaiscript/dispatchkit/boxed_number.hpp index 150e76c..6000468 100644 --- a/include/chaiscript/dispatchkit/boxed_number.hpp +++ b/include/chaiscript/dispatchkit/boxed_number.hpp @@ -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 {} }; } }