Explorar o código

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

Michele Caini hai 1 ano
pai
achega
d62204df4e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
     }