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};