⚗️ use proper header for filesystem

This commit is contained in:
Niels Lohmann 2021-10-20 15:03:50 +02:00
parent 930e2cf418
commit 5cd67e7d23
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -69,6 +69,7 @@ using ordered_json = nlohmann::ordered_json;
#endif
#endif
#ifdef JSON_STD_FILESYSTEM_EXPERIMENTAL
#if JSON_STD_FILESYSTEM_EXPERIMENTAL
#include <experimental/filesystem>
namespace nlohmann::detail
@ -83,6 +84,7 @@ namespace std_fs = std::filesystem;
} // namespace nlohmann::detail
#endif
#endif
#endif
#ifdef JSON_HAS_CPP_20
#include <span>