From e13edf41bb8201e64a1b62562369140392c599de Mon Sep 17 00:00:00 2001 From: terik23 Date: Sun, 24 Mar 2019 16:32:21 +0500 Subject: [PATCH] fix build --- include/nameof.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nameof.hpp b/include/nameof.hpp index e88ab62..f9ae57a 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -254,7 +254,7 @@ template >> template >>> [[nodiscard]] constexpr std::string_view nameof_enum(T value) noexcept { constexpr bool s = std::is_signed_v>>; - constexpr int min = s ? -MAGIC_ENUM_MAX_SEARCH_DEPTH : 0; + constexpr int min = s ? -NAMEOF_ENUM_MAX_SEARCH_DEPTH : 0; return detail::nameof_enum_t, min>{}(static_cast(value)); }