From 4b6d3d47ecc3f2a1d744e800aee6acf142f925fc Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 25 Mar 2022 15:12:25 +0100 Subject: [PATCH] registry: suppress a false warning from clang --- src/entt/entity/registry.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/entity/registry.hpp b/src/entt/entity/registry.hpp index 3d52b73c8..a285397b4 100644 --- a/src/entt/entity/registry.hpp +++ b/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().clear(), ...); }