diff --git a/src/entt/core/type_traits.hpp b/src/entt/core/type_traits.hpp index aebe88e1f..b2b007e73 100644 --- a/src/entt/core/type_traits.hpp +++ b/src/entt/core/type_traits.hpp @@ -216,7 +216,8 @@ constexpr auto is_named_type_v = is_named_type::value; struct entt::named_type_traits\ : std::integral_constant>>>{#type}>\ {\ - static_assert(std::is_same_v, type>);\ + static_assert(std::is_same_v, type>);\ + static_assert(std::is_object_v);\ };