Michele Caini 6 tahun lalu
induk
melakukan
62fde229e2
1 mengubah file dengan 1 tambahan dan 5 penghapusan
  1. 1 5
      src/entt/entity/registry.hpp

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

@@ -48,11 +48,7 @@ class basic_registry {
         static_assert(std::is_same_v<Component, std::decay_t<Component>>);
         static_assert(std::is_same_v<Component, std::decay_t<Component>>);
         std::size_t super{};
         std::size_t super{};
 
 
-        template<typename... Args>
-        pool_handler(Args &&... args)
-            : storage<Entity, Component>{std::forward<Args>(args)...},
-              super{}
-        {}
+        using storage<Entity, Component>::storage;
 
 
         auto on_construct() ENTT_NOEXCEPT {
         auto on_construct() ENTT_NOEXCEPT {
             return sink{construction};
             return sink{construction};