瀏覽代碼

process: noexcept-ness review

Michele Caini 1 年之前
父節點
當前提交
9819234238
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/entt/process/scheduler.hpp

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

@@ -153,7 +153,7 @@ public:
      * @brief Exchanges the contents with those of a given scheduler.
      * @param other Scheduler to exchange the content with.
      */
-    void swap(basic_scheduler &other) {
+    void swap(basic_scheduler &other) noexcept {
         using std::swap;
         swap(handlers, other.handlers);
     }