⚗️ do not use too old compilers with C++17

This commit is contained in:
Niels Lohmann 2021-10-20 19:23:05 +02:00
parent 2b431c212f
commit 7543e179ef
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -47,9 +47,8 @@ using ordered_json = nlohmann::ordered_json;
#endif
#ifdef JSON_HAS_CPP_17
#include <variant>
#include <variant>
#ifdef JSON_HAS_CPP_17
#if defined(__cpp_lib_filesystem)
#define JSON_HAS_FILESYSTEM 1
#elif defined(__cpp_lib_experimental_filesystem)