From 4a8b2f826df31fa53aecdd3bfe4c2631448129fe Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Sat, 30 Nov 2019 13:01:04 +0100 Subject: [PATCH] cleanup --- src/entt/entity/registry.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/entt/entity/registry.hpp b/src/entt/entity/registry.hpp index a17741379..2fdf33d04 100644 --- a/src/entt/entity/registry.hpp +++ b/src/entt/entity/registry.hpp @@ -50,10 +50,10 @@ class basic_registry { struct pool_handler: storage { std::size_t super{}; - pool_handler() ENTT_NOEXCEPT = default; - - pool_handler(const storage &other) - : storage{other} + template + pool_handler(Args &&... args) + : storage{std::forward(args)...}, + super{} {} auto on_construct() ENTT_NOEXCEPT {