diff --git a/lib/base/exception.hpp b/lib/base/exception.hpp index 5daa0c85c..246c28a78 100644 --- a/lib/base/exception.hpp +++ b/lib/base/exception.hpp @@ -34,7 +34,6 @@ class ScriptError : virtual public user_error public: ScriptError(String message); ScriptError(String message, DebugInfo di, bool incompleteExpr = false); - ~ScriptError() throw() = default; const char *what(void) const throw() final; diff --git a/lib/base/serializer.hpp b/lib/base/serializer.hpp index 8dfea0865..77b31cecc 100644 --- a/lib/base/serializer.hpp +++ b/lib/base/serializer.hpp @@ -15,7 +15,6 @@ class CircularReferenceError : virtual public user_error { public: CircularReferenceError(String message, std::vector path); - ~CircularReferenceError() throw() = default; const char *what(void) const throw() final; std::vector GetPath() const;