Sfoglia il codice sorgente

registry: suppress a false warning from clang

Michele Caini 4 anni fa
parent
commit
4b6d3d47ec
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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(), ...);
         }