From 69d15470b45fc7ad5145725f2226469ed0b8037a Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Mon, 11 Mar 2024 11:13:30 +0100 Subject: [PATCH] test: avoid using registry traits_type --- test/example/reserved_bits.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/example/reserved_bits.cpp b/test/example/reserved_bits.cpp index a5a4c9018..4d3dcf9eb 100644 --- a/test/example/reserved_bits.cpp +++ b/test/example/reserved_bits.cpp @@ -38,8 +38,8 @@ TEST(Example, DisabledEntity) { entt::basic_registry registry{}; auto view = registry.view(); - const my_entity entity = registry.create(entt::basic_registry::traits_type::construct(4u, 1u)); - const my_entity other = registry.create(entt::basic_registry::traits_type::construct(3u, 0u)); + const my_entity entity = registry.create(entt::entt_traits::construct(4u, 1u)); + const my_entity other = registry.create(entt::entt_traits::construct(3u, 0u)); registry.emplace(entity); registry.emplace(other);