From 20cac97b53a432af0d4b5cde6962aef83ef6338e Mon Sep 17 00:00:00 2001 From: ilobilo <68286835+ilobilo@users.noreply.github.com> Date: Tue, 22 Nov 2022 13:37:06 +0400 Subject: [PATCH] add missing magic_enum namespace (#223) --- include/magic_enum_format.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }