Преглед изворни кода

sigh_storage_mixin: use entity_type from Type

Michele Caini пре 3 година
родитељ
комит
a9a9853c01
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/entt/entity/storage_mixin.hpp

+ 1 - 1
src/entt/entity/storage_mixin.hpp

@@ -39,7 +39,7 @@ class sigh_storage_mixin final: public Type {
         }
         }
     }
     }
 
 
-    basic_iterator try_emplace(const typename basic_registry_type::entity_type entt, const bool force_back, const void *value) final {
+    basic_iterator try_emplace(const typename Type::entity_type entt, const bool force_back, const void *value) final {
         ENTT_ASSERT(owner != nullptr, "Invalid pointer to registry");
         ENTT_ASSERT(owner != nullptr, "Invalid pointer to registry");
         Type::try_emplace(entt, force_back, value);
         Type::try_emplace(entt, force_back, value);
         construction.publish(*owner, entt);
         construction.publish(*owner, entt);