diff --git a/test/lib/a_module.cpp b/test/lib/a_module.cpp index 1f70d11ae..69dbef17a 100644 --- a/test/lib/a_module.cpp +++ b/test/lib/a_module.cpp @@ -13,11 +13,6 @@ #endif #endif -ENTT_NAMED_TYPE(int) -ENTT_NAMED_TYPE(char) -ENTT_NAMED_TYPE(double) -ENTT_NAMED_TYPE(float) - LIB_EXPORT typename entt::component a_module_int_type() { entt::registry registry; diff --git a/test/lib/another_module.cpp b/test/lib/another_module.cpp index 10fc522dd..2d4bd61d9 100644 --- a/test/lib/another_module.cpp +++ b/test/lib/another_module.cpp @@ -13,17 +13,12 @@ #endif #endif -ENTT_NAMED_TYPE(int) -ENTT_NAMED_TYPE(char) -ENTT_NAMED_TYPE(double) -ENTT_NAMED_TYPE(float) - LIB_EXPORT typename entt::component another_module_int_type() { entt::registry registry; (void)registry.type(); - (void)registry.type(); (void)registry.type(); + (void)registry.type(); (void)registry.type(); (void)registry.type(); @@ -34,8 +29,8 @@ LIB_EXPORT typename entt::component another_module_char_type() { entt::registry registry; (void)registry.type(); - (void)registry.type(); (void)registry.type(); + (void)registry.type(); (void)registry.type(); (void)registry.type(); diff --git a/test/lib/lib.cpp b/test/lib/lib.cpp index 57ee70d27..4bb800637 100644 --- a/test/lib/lib.cpp +++ b/test/lib/lib.cpp @@ -26,9 +26,6 @@ struct listener { int value; }; -ENTT_NAMED_TYPE(int) -ENTT_NAMED_TYPE(char) - TEST(Lib, Types) { entt::registry registry; diff --git a/test/lib/types.h b/test/lib/types.h index f26b100fa..f84be7eca 100644 --- a/test/lib/types.h +++ b/test/lib/types.h @@ -20,3 +20,6 @@ ENTT_NAMED_STRUCT(an_event, { }) ENTT_NAMED_STRUCT(another_event, {}) + +ENTT_NAMED_TYPE(int) +ENTT_NAMED_TYPE(char)