Просмотр исходного кода

registry: suppress warnings for uninitialized variable

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

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

@@ -45,7 +45,7 @@ class basic_registry {
     struct pool_data {
         type_info info{};
         std::unique_ptr<basic_sparse_set<Entity>> pool{};
-        void(* erase)(basic_sparse_set<Entity> &, basic_registry &, const Entity *, const Entity *);
+        void(* erase)(basic_sparse_set<Entity> &, basic_registry &, const Entity *, const Entity *){};
     };
 
     template<typename...>