Browse Source

basic_scheduler: default destructor

Michele Caini 1 year ago
parent
commit
16b05ad8a0
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/entt/process/scheduler.hpp

+ 4 - 1
src/entt/process/scheduler.hpp

@@ -18,7 +18,7 @@ namespace internal {
 
 template<typename Delta>
 struct basic_process_handler {
-    virtual ~basic_process_handler() = default;
+    virtual ~basic_process_handler() noexcept = default;
 
     virtual bool update(const Delta, void *) = 0;
     virtual void abort(const bool) = 0;
@@ -126,6 +126,9 @@ public:
         ENTT_ASSERT(alloc_traits::is_always_equal::value || get_allocator() == other.get_allocator(), "Copying a scheduler is not allowed");
     }
 
+    /*! @brief Default destructor. */
+    ~basic_scheduler() noexcept = default;
+
     /**
      * @brief Move assignment operator.
      * @param other The instance to move from.