From 8fbf1fb1f8870bf71258206e838e4b2c6499c594 Mon Sep 17 00:00:00 2001 From: neargye Date: Fri, 3 May 2019 15:57:44 +0500 Subject: [PATCH] fix NAMEOF_CONST_ENUM --- include/nameof.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.