Michele Caini 6 лет назад
Родитель
Сommit
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)) {
             if(auto &pdata = pools[pos-1]; pdata.pool && pdata.pool->has(entity)) {
                 pdata.remove(*pdata.pool, *this, entity);
                 pdata.remove(*pdata.pool, *this, entity);
             }
             }
-        };
+        }
 
 
         // just a way to protect users from listeners that attach components
         // just a way to protect users from listeners that attach components
         ENTT_ASSERT(orphan(entity));
         ENTT_ASSERT(orphan(entity));