From: Mikko Rasa Date: Sun, 20 Aug 2023 09:57:30 +0000 (+0300) Subject: Remove unnecessary destructors from exception classes X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=83f553a382ce554951594de85e4fd7b854305463;p=libs%2Fgltk.git Remove unnecessary destructors from exception classes --- diff --git a/source/arrangement.h b/source/arrangement.h index 2decb3e..15fb47c 100644 --- a/source/arrangement.h +++ b/source/arrangement.h @@ -15,7 +15,6 @@ class MSPGLTK_API arrangement_error: public std::logic_error { public: arrangement_error(const std::string &w): std::logic_error(w) { } - virtual ~arrangement_error() throw() { } }; class MSPGLTK_API Arrangement diff --git a/source/container.h b/source/container.h index adaee6f..a0cba3b 100644 --- a/source/container.h +++ b/source/container.h @@ -14,7 +14,6 @@ class MSPGLTK_API hierarchy_error: public std::logic_error { public: hierarchy_error(const std::string &); - virtual ~hierarchy_error() throw() { } }; diff --git a/source/list.h b/source/list.h index d6cb2b5..37d4d7a 100644 --- a/source/list.h +++ b/source/list.h @@ -20,7 +20,6 @@ class MSPGLTK_API incompatible_data: public std::logic_error { public: incompatible_data(const std::type_info &); - virtual ~incompatible_data() throw() { } };