From: Jay Freeman (saurik) Date: Mon, 13 Oct 2014 12:20:02 +0000 (-0700) Subject: C++11 now defaults destructors to noexcept(true). X-Git-Tag: v0.9.503~11 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/2eb5f06f8a80f22e1677747ee448ad0db2b0bb35?hp=baea637579c120f1ee2be6d2b4404e21fa734d74 C++11 now defaults destructors to noexcept(true). --- diff --git a/Exception.hpp b/Exception.hpp index d30da2e..889f92f 100644 --- a/Exception.hpp +++ b/Exception.hpp @@ -122,7 +122,7 @@ struct CYJSException { { } - ~CYJSException() { + ~CYJSException() noexcept(false) { CYThrow(context_, value_); }