diff --git a/src/entt/entity/group.hpp b/src/entt/entity/group.hpp index 691f1b94a..ae4d4bf4e 100644 --- a/src/entt/entity/group.hpp +++ b/src/entt/entity/group.hpp @@ -104,7 +104,6 @@ class group_handler; template class group_handler, get_t, exclude_t> final: public group_descriptor { // nasty workaround for an issue with the toolset v141 that doesn't accept a fold expression here - static_assert(!std::disjunction_v::in_place_delete>...>, "Groups do not support in-place delete"); static_assert(!std::disjunction_v..., std::is_const..., std::is_const...>, "Const storage type not allowed"); using base_type = std::common_type_t; @@ -689,6 +688,9 @@ private: */ template class basic_group, get_t, exclude_t> { + // nasty workaround for an issue with the toolset v141 that doesn't accept a fold expression here + static_assert(!std::disjunction_v::in_place_delete>...>, "Groups do not support in-place delete"); + using base_type = std::common_type_t; using underlying_type = typename base_type::entity_type;