1
0
Michele Caini 7 жил өмнө
parent
commit
ef6c8a38d0

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