From 21829cc27ffc42c0df04d3b2f2c5d878f5fd2e69 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Mon, 16 Sep 2024 17:18:35 +0200 Subject: [PATCH] process: implicit noexcept-ness for dtors --- src/entt/process/process.hpp | 2 +- src/entt/process/scheduler.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/entt/process/process.hpp b/src/entt/process/process.hpp index e95ad0c93..71d692183 100644 --- a/src/entt/process/process.hpp +++ b/src/entt/process/process.hpp @@ -188,7 +188,7 @@ public: process &operator=(process &&) noexcept = default; /*! @brief Default destructor. */ - virtual ~process() noexcept { + virtual ~process() { static_assert(std::is_base_of_v, "Incorrect use of the class template"); } diff --git a/src/entt/process/scheduler.hpp b/src/entt/process/scheduler.hpp index 1e792c7bd..125c99206 100644 --- a/src/entt/process/scheduler.hpp +++ b/src/entt/process/scheduler.hpp @@ -18,7 +18,7 @@ namespace internal { template struct basic_process_handler { - virtual ~basic_process_handler() noexcept = default; + virtual ~basic_process_handler() = default; virtual bool update(const Delta, void *) = 0; virtual void abort(const bool) = 0; @@ -130,7 +130,7 @@ public: } /*! @brief Default destructor. */ - ~basic_scheduler() noexcept = default; + ~basic_scheduler() = default; /** * @brief Default copy assignment operator, deleted on purpose.