1
0
Эх сурвалжийг харах

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

skypjack 3 сар өмнө
parent
commit
ca32a3668a

+ 1 - 1
test/common/registry.h

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

+ 1 - 1
test/entt/entity/component.cpp

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