From 5b841db4a00a91b04da1d0a3a3d6064bbce22a44 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Thu, 27 Jun 2019 10:43:59 +0200 Subject: [PATCH] Avoid "~Class() throw() = default;" --- lib/base/exception.hpp | 1 - lib/base/serializer.hpp | 1 - 2 files changed, 2 deletions(-) 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; -- 2.40.0