Michele Caini пре 6 година
родитељ
комит
62fde229e2
1 измењених фајлова са 1 додато и 5 уклоњено
  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};