From 12d9660016d86343bf80cb05043a9a4d427fdab9 Mon Sep 17 00:00:00 2001 From: skypjack Date: Wed, 3 Dec 2025 18:27:45 +0100 Subject: [PATCH] test: cleanup examples --- test/example/entity_copy.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/example/entity_copy.cpp b/test/example/entity_copy.cpp index 517595f58..b8d1aac5d 100644 --- a/test/example/entity_copy.cpp +++ b/test/example/entity_copy.cpp @@ -13,8 +13,8 @@ enum class my_entity : entt::id_type {}; template // NOLINTNEXTLINE(*-exception-escape) struct meta_mixin: Type { - using allocator_type = typename Type::allocator_type; - using element_type = typename Type::element_type; + using allocator_type = Type::allocator_type; + using element_type = Type::element_type; explicit meta_mixin(const allocator_type &allocator); }; @@ -95,7 +95,7 @@ TYPED_TEST(EntityCopy, CrossRegistry) { src.emplace(entity, 'c'); ASSERT_EQ(src.storage().size(), 1u); - ASSERT_EQ(dst.template storage().size(), 1u); + ASSERT_EQ(dst.template storage().size(), 1u); ASSERT_TRUE((src.all_of(entity))); ASSERT_FALSE((dst.template all_of(copy))); @@ -115,7 +115,7 @@ TYPED_TEST(EntityCopy, CrossRegistry) { } ASSERT_EQ(src.storage().size(), 1u); - ASSERT_EQ(dst.template storage().size(), 1u); + ASSERT_EQ(dst.template storage().size(), 1u); ASSERT_TRUE((src.all_of(entity))); ASSERT_TRUE((dst.template all_of(copy)));