Michele Caini 7 anni fa
parent
commit
ef6c8a38d0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);
             };
         }