Răsfoiți Sursa

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

Michele Caini 1 an în urmă
părinte
comite
d62204df4e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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;
     }