Browse Source

registry: suppress a false warning from clang

Michele Caini 4 years ago
parent
commit
4b6d3d47ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/entt/entity/registry.hpp

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

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