Browse Source

process/scheduler: update noexcept policy

Michele Caini 4 years ago
parent
commit
02d1417ef4
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/entt/process/process.hpp
  2. 1 1
      src/entt/process/scheduler.hpp

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

@@ -166,7 +166,7 @@ public:
     using delta_type = Delta;
 
     /*! @brief Default destructor. */
-    virtual ~process() {
+    virtual ~process() ENTT_NOEXCEPT {
         static_assert(std::is_base_of_v<process, Derived>, "Incorrect use of the class template");
     }
 

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

@@ -53,7 +53,7 @@ class scheduler {
     };
 
     struct continuation {
-        continuation(process_handler *ref)
+        continuation(process_handler *ref) ENTT_NOEXCEPT
             : handler{ref} {}
 
         template<typename Proc, typename... Args>