test: reduce impact of entity_like, and prepare to fix it

This commit is contained in:
skypjack
2026-03-24 15:45:30 +01:00
parent 060eda7586
commit ca32a3668a
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
namespace test {
template<entt::entity_like Entity>
template<typename Entity>
struct custom_registry: private entt::basic_registry<Entity> {
using base_type = entt::basic_registry<Entity>;

View File

@@ -34,7 +34,7 @@ struct entt::component_traits<ComponentBase::traits_based, ComponentBase::other_
static constexpr auto page_size = 16u;
};
template<entt::entity_like Entity>
template<typename Entity>
struct entt::component_traits<ComponentBase::traits_based, Entity> {
using entity_type = Entity;
using element_type = ComponentBase::traits_based;