diff --git a/include/magic_enum_format.hpp b/include/magic_enum_format.hpp index d34421b..cc81c8f 100644 --- a/include/magic_enum_format.hpp +++ b/include/magic_enum_format.hpp @@ -59,7 +59,7 @@ struct std::formatter && magic_enum::custo static_assert(std::is_same_v, "formatter requires string_view::value_type type same as char."); using D = std::decay_t; - if constexpr (detail::supported::value) { + if constexpr (magic_enum::detail::supported::value) { if (const auto name = magic_enum::enum_name>>(e); !name.empty()) { return std::formatter::format(std::string_view{name.data(), name.size()}, ctx); }