Skip to content

Commit

Permalink
fix using leak
Browse files Browse the repository at this point in the history
  • Loading branch information
Neargye committed Apr 28, 2021
1 parent a9813bd commit 6810459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/nameof.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6810459

Please sign in to comment.