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

registry: suppress a false warning from clang

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

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

@@ -1080,7 +1080,7 @@ public:
                 curr.second->clear();
             }
 
-            each([this](const auto entity) { release(entity); });
+            each([this](const auto entity) { this->release(entity); });
         } else {
             (assure<Component>().clear(), ...);
         }