From c259c79384f3daee77c91dabb3c71b77c172ec4c Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 12 Sep 2019 23:01:49 +0200 Subject: [PATCH] typo --- 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 a8c6e74f1..fd50118e0 100644 --- a/src/entt/entity/registry.hpp +++ b/src/entt/entity/registry.hpp @@ -696,7 +696,7 @@ public: if(auto &pdata = pools[pos-1]; pdata.pool && pdata.pool->has(entity)) { pdata.remove(*pdata.pool, *this, entity); } - }; + } // just a way to protect users from listeners that attach components ENTT_ASSERT(orphan(entity));