From 79a054a524046954b91bf8fbc4423a4ea57dcdb3 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 20 Dec 2022 15:46:18 +0100 Subject: [PATCH] sigh_mixin: scope base_type properly --- src/entt/entity/storage_mixin.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/entity/storage_mixin.hpp b/src/entt/entity/storage_mixin.hpp index a9ce0d753..d854d5104 100644 --- a/src/entt/entity/storage_mixin.hpp +++ b/src/entt/entity/storage_mixin.hpp @@ -43,7 +43,7 @@ class sigh_mixin final: public Type { ENTT_ASSERT(owner != nullptr, "Invalid pointer to registry"); const auto it = Type::try_emplace(entt, force_back, value); - if(it != base_type::end()) { + if(it != Type::base_type::end()) { construction.publish(*owner, *it); }