diff --git a/include/nameof.hpp b/include/nameof.hpp index 101bfce..0e58e72 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -241,7 +241,7 @@ template using D = std::decay_t; static_assert(std::is_enum_v, "nameof::nameof_enum requires enum type."); - return nameof_enum_impl(); + return detail::nameof_enum_impl(); } // Obtains string name of type.