From 6810459778f794dff172c6f8ad17dc77b769aaee Mon Sep 17 00:00:00 2001 From: neargye Date: Wed, 28 Apr 2021 20:51:50 +0300 Subject: [PATCH] fix using leak --- include/nameof.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nameof.hpp b/include/nameof.hpp index 5c5cff6..5a64313 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -130,14 +130,14 @@ namespace nameof { #if defined(NAMEOF_USING_ALIAS_STRING_VIEW) NAMEOF_USING_ALIAS_STRING_VIEW #else -using string_view = std::string_view; +using std::string_view; #endif // If need another string type, define the macro NAMEOF_USING_ALIAS_STRING. #if defined(NAMEOF_USING_ALIAS_STRING) NAMEOF_USING_ALIAS_STRING #else -using string = std::string; +using std::string; #endif namespace customize {