diff --git a/src/entt/entity/view.hpp b/src/entt/entity/view.hpp index 461856b7f..8a1e5c806 100644 --- a/src/entt/entity/view.hpp +++ b/src/entt/entity/view.hpp @@ -221,13 +221,13 @@ class basic_view; */ template class basic_view, exclude_t> { + template + friend class basic_view; + static constexpr auto offset = sizeof...(Get); using base_type = std::common_type_t; using underlying_type = typename base_type::entity_type; - template - friend class basic_view; - template static constexpr std::size_t index_of = type_list_index_v, type_list>;