Explorar el Código

minor changes

Michele Caini hace 7 años
padre
commit
ef6c8a38d0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
             };
         }