process: implicit noexcept-ness for dtors

This commit is contained in:
Michele Caini
2024-09-16 17:18:35 +02:00
parent c742fcf371
commit 21829cc27f
2 changed files with 3 additions and 3 deletions

View File

@@ -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<process, Derived>, "Incorrect use of the class template");
}

View File

@@ -18,7 +18,7 @@ namespace internal {
template<typename Delta>
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.