Skip to content

Commit

Permalink
Fix for _HAS_CXX17 == 0
Browse files Browse the repository at this point in the history
Copied from solution to nlohmann#464
  • Loading branch information
jseward committed Oct 21, 2017
1 parent 1a66679 commit 59cde1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ SOFTWARE.
#endif

// string_view support
#if defined(_MSC_VER) && defined(_HAS_CXX17)
#if defined(_MSC_VER) && defined(_HAS_CXX17) && _HAS_CXX17 == 1
#define JSON_USE_STRING_VIEW
#endif

Expand Down

0 comments on commit 59cde1a

Please sign in to comment.