diff --git a/src/entt/entity/registry.hpp b/src/entt/entity/registry.hpp index ccd2b71ef..caab4410b 100644 --- a/src/entt/entity/registry.hpp +++ b/src/entt/entity/registry.hpp @@ -45,7 +45,7 @@ class basic_registry { struct pool_data { type_info info{}; std::unique_ptr> pool{}; - void(* erase)(basic_sparse_set &, basic_registry &, const Entity *, const Entity *); + void(* erase)(basic_sparse_set &, basic_registry &, const Entity *, const Entity *){}; }; template