This commit is contained in:
Michele Caini
2019-11-30 13:01:04 +01:00
parent 4901e4fb80
commit 4a8b2f826d

View File

@@ -50,10 +50,10 @@ class basic_registry {
struct pool_handler: storage<Entity, Component> {
std::size_t super{};
pool_handler() ENTT_NOEXCEPT = default;
pool_handler(const storage<Entity, Component> &other)
: storage<Entity, Component>{other}
template<typename... Args>
pool_handler(Args &&... args)
: storage<Entity, Component>{std::forward<Args>(args)...},
super{}
{}
auto on_construct() ENTT_NOEXCEPT {