소스 검색

sigh_mixin: scope base_type properly

Michele Caini 3 년 전
부모
커밋
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);
         }