fix using leak

This commit is contained in:
neargye 2021-04-28 20:51:50 +03:00
parent a9813bd7a1
commit 6810459778

View file

@ -130,14 +130,14 @@ namespace nameof {
#if defined(NAMEOF_USING_ALIAS_STRING_VIEW) #if defined(NAMEOF_USING_ALIAS_STRING_VIEW)
NAMEOF_USING_ALIAS_STRING_VIEW NAMEOF_USING_ALIAS_STRING_VIEW
#else #else
using string_view = std::string_view; using std::string_view;
#endif #endif
// If need another string type, define the macro NAMEOF_USING_ALIAS_STRING. // If need another string type, define the macro NAMEOF_USING_ALIAS_STRING.
#if defined(NAMEOF_USING_ALIAS_STRING) #if defined(NAMEOF_USING_ALIAS_STRING)
NAMEOF_USING_ALIAS_STRING NAMEOF_USING_ALIAS_STRING
#else #else
using string = std::string; using std::string;
#endif #endif
namespace customize { namespace customize {