From 4cf0ac3bcd8a2aa480a29ef43f2cca88c190d874 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 18 Nov 2022 08:59:51 +0100 Subject: pick a less awkward name for type's name --- test/entity.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/entity.cpp b/test/entity.cpp index 46c71c56..72b0a598 100644 --- a/test/entity.cpp +++ b/test/entity.cpp @@ -112,7 +112,7 @@ static void test_erasure() { static void test_metadata() { constexpr auto m = entity_metadata(); - fm_assert(m.class_name == typename_of); + fm_assert(m.class_name == name_of); fm_assert(m.class_name.contains("TestAccessors"_s)); const auto [foo, bar, baz] = m.accessors; const auto [foo2, bar2, baz2] = m.erased_accessors; @@ -128,7 +128,7 @@ static void test_type_name() { using namespace entities; struct foobar; - constexpr StringView name = typename_of; + constexpr StringView name = name_of; fm_assert(name.contains("foobar"_s)); } -- cgit v1.2.3