diff --git a/src/entt/entity/view.hpp b/src/entt/entity/view.hpp index cf6fe4972..e92121cb3 100644 --- a/src/entt/entity/view.hpp +++ b/src/entt/entity/view.hpp @@ -623,12 +623,12 @@ public: * @tparam Type Common type among all storage types. */ template -class basic_storage_view { +class basic_swap_and_pop_view { protected: /*! @cond TURN_OFF_DOXYGEN */ - basic_storage_view() noexcept = default; + basic_swap_and_pop_view() noexcept = default; - basic_storage_view(const Type *value) noexcept + basic_swap_and_pop_view(const Type *value) noexcept : leading{value} {} /*! @endcond */ @@ -768,8 +768,8 @@ private: * @tparam Get Type of storage iterated by the view. */ template -class basic_view, exclude_t<>, std::void_t::storage_policy == deletion_policy::swap_and_pop>>>: public basic_storage_view { - using base_type = basic_storage_view; +class basic_view, exclude_t<>, std::void_t::storage_policy == deletion_policy::swap_and_pop>>>: public basic_swap_and_pop_view { + using base_type = basic_swap_and_pop_view; public: /*! @brief Common type among all storage types. */