Michele Caini 6 лет назад
Родитель
Сommit
ef6c8a38d0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/entt/entity/registry.hpp

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

@@ -272,7 +272,7 @@ class basic_registry {
                 }
             };
 
-            pdata->remove = [](basic_registry &registry, const Entity entt) {
+            pdata->remove = +[](basic_registry &registry, const Entity entt) {
                 registry.pool<Component>()->remove(registry, entt);
             };
         }