Procházet zdrojové kódy

sigh_mixin: scope base_type properly

Michele Caini před 3 roky
rodič
revize
79a054a524
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);
         }