Przeglądaj źródła

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

Michele Caini 1 rok temu
rodzic
commit
d62204df4e
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
     }