fix using leak
This commit is contained in:
parent
a9813bd7a1
commit
6810459778
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue