From fefcbb214ac0e5e28e05a7fb518c5781b73ffd33 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 8 Mar 2024 12:43:38 +0100 Subject: [PATCH] sparse_set: drop an extra typename that msvc happily accepted --- src/entt/entity/sparse_set.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/entity/sparse_set.hpp b/src/entt/entity/sparse_set.hpp index 1c61a1a38..0f7359191 100644 --- a/src/entt/entity/sparse_set.hpp +++ b/src/entt/entity/sparse_set.hpp @@ -162,7 +162,7 @@ class basic_sparse_set { using packed_container_type = std::vector; using underlying_type = typename entt_traits::entity_type; - static constexpr auto max_size = static_cast(typename entt_traits::to_entity(null)); + static constexpr auto max_size = static_cast(entt_traits::to_entity(null)); [[nodiscard]] auto policy_to_head() const noexcept { return static_cast(max_size * (mode != deletion_policy::swap_only));