Просмотр исходного кода

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

Michele Caini 1 год назад
Родитель
Сommit
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 {
 struct group_descriptor {
     using size_type = std::size_t;
     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 {
     [[nodiscard]] virtual bool owned(const id_type) const noexcept {
         return false;
         return false;
     }
     }