Просмотр исходного кода

sigh_mixin: scope base_type properly

Michele Caini 3 лет назад
Родитель
Сommit
79a054a524
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/entt/entity/storage_mixin.hpp

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