From 26f19fb90ea0113d17edf219fdb54112f7b7ff38 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 20 Apr 2021 12:37:50 +0200 Subject: [PATCH] storage: cleanup --- src/entt/entity/storage.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/entt/entity/storage.hpp b/src/entt/entity/storage.hpp index be7308c51..f39a1e006 100644 --- a/src/entt/entity/storage.hpp +++ b/src/entt/entity/storage.hpp @@ -626,10 +626,8 @@ struct storage_adapter_mixin: Type { */ template class sigh_storage_mixin final: public Type { - using Entity = typename Type::entity_type; - /*! @copydoc basic_sparse_set::about_to_remove */ - void about_to_remove(const Entity entity, void *ud) final { + void about_to_remove(const typename Type::entity_type entity, void *ud) final { ENTT_ASSERT(ud != nullptr, "Invalid pointer to registry"); destruction.publish(*static_cast *>(ud), entity); Type::about_to_remove(entity, ud);