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); }