diff --git a/test/example/signal_less.cpp b/test/example/signal_less.cpp index c238bf8d5..d62c23648 100644 --- a/test/example/signal_less.cpp +++ b/test/example/signal_less.cpp @@ -5,28 +5,28 @@ #include struct SignalLess: testing::Test { - enum entity : std::uint32_t {}; + enum my_entity : std::uint32_t {}; template struct has_on_construct: std::false_type {}; template - struct has_on_construct::on_construct)>>: std::true_type {}; + struct has_on_construct::on_construct)>>: std::true_type {}; template static constexpr auto has_on_construct_v = has_on_construct::value; }; template -struct entt::storage_type { +struct entt::storage_type { // no signal regardless of element type ... - using type = basic_storage; + using type = basic_storage; }; template<> -struct entt::storage_type { +struct entt::storage_type { // ... unless it's char, because yes. - using type = sigh_mixin>; + using type = sigh_mixin>; }; TEST_F(SignalLess, Example) { @@ -34,7 +34,7 @@ TEST_F(SignalLess, Example) { ASSERT_FALSE((has_on_construct_v)); ASSERT_TRUE((has_on_construct_v)); - entt::basic_registry registry; + entt::basic_registry registry; const std::array entity{registry.create()}; // literally a test for storage_adapter_mixin