From 908126e42096d5d30885532037ae3aa07dd167a0 Mon Sep 17 00:00:00 2001 From: Neargye Date: Mon, 30 Apr 2018 04:25:11 +0500 Subject: [PATCH] using ::std --- include/nameof.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nameof.hpp b/include/nameof.hpp index f024d5d..be823a0 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -43,7 +43,7 @@ inline constexpr bool IsLexeme(const char s) noexcept { } // namespace detail -inline constexpr const char* Nameof(const char* name, const std::size_t length, const std::size_t) noexcept { +inline constexpr const char* Nameof(const char* name, const ::std::size_t length, const ::std::size_t) noexcept { return length == 0 ? name : detail::IsLexeme(name[length - 1]) ? &name[length] : Nameof(name, length - 1, 0);