mirror of
https://github.com/nlohmann/json.git
synced 2024-08-23 05:22:28 +02:00
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
|
@ -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