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

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

@@ -203,8 +203,8 @@ class basic_registry {
 
 
     struct pool_data {
     struct pool_data {
         std::unique_ptr<sparse_set<Entity>> pool;
         std::unique_ptr<sparse_set<Entity>> pool;
-        std::unique_ptr<sparse_set<Entity>> (* clone)(const sparse_set<Entity> &);
-        void (* remove)(sparse_set<Entity> &, basic_registry &, const Entity);
+        std::unique_ptr<sparse_set<Entity>>(* clone)(const sparse_set<Entity> &);
+        void(* remove)(sparse_set<Entity> &, basic_registry &, const Entity);
         ENTT_ID_TYPE runtime_type;
         ENTT_ID_TYPE runtime_type;
     };
     };