Fix for _HAS_CXX17 == 0
Copied from solution to https://github.com/nlohmann/json/issues/464
This commit is contained in:
parent
1a66679929
commit
59cde1ad6e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue