diff --git a/test/entt/entity/component.cpp b/test/entt/entity/component.cpp index 55a15a1fc..d1b23d0e1 100644 --- a/test/entt/entity/component.cpp +++ b/test/entt/entity/component.cpp @@ -1,14 +1,11 @@ #include #include #include +#include "../common/boxed_int.h" #include "../common/non_movable.h" struct empty {}; -struct non_empty { - int value; -}; - struct self_contained { static constexpr auto in_place_delete = true; static constexpr auto page_size = 4u; @@ -38,7 +35,7 @@ TEST(Component, Empty) { } TEST(Component, NonEmpty) { - using traits_type = entt::component_traits; + using traits_type = entt::component_traits; ASSERT_FALSE(traits_type::in_place_delete); ASSERT_EQ(traits_type::page_size, ENTT_PACKED_PAGE);