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

+ 1 - 1
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));