浏览代码

group: impressed, cannot get all compilers to agree :)

Michele Caini 1 年之前
父节点
当前提交
d62204df4e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/entt/entity/group.hpp

+ 1 - 1
src/entt/entity/group.hpp

@@ -93,7 +93,7 @@ template<typename... Lhs, typename... Rhs>
 
 struct group_descriptor {
     using size_type = std::size_t;
-    virtual ~group_descriptor() = default;
+    virtual ~group_descriptor() noexcept(false) {} // NOLINT
     [[nodiscard]] virtual bool owned(const id_type) const noexcept {
         return false;
     }