Forráskód Böngészése

sigh_mixin: scope base_type properly

Michele Caini 3 éve
szülő
commit
79a054a524
1 módosított fájl, 1 hozzáadás és 1 törlés
  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");
         ENTT_ASSERT(owner != nullptr, "Invalid pointer to registry");
         const auto it = Type::try_emplace(entt, force_back, value);
         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);
             construction.publish(*owner, *it);
         }
         }