From 5cd67e7d2336816ad7029f93566667a8caab5d7f Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Wed, 20 Oct 2021 15:03:50 +0200 Subject: [PATCH] :alembic: use proper header for filesystem --- test/src/unit-regression2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/src/unit-regression2.cpp b/test/src/unit-regression2.cpp index 807e27f14..fb8b268c6 100644 --- a/test/src/unit-regression2.cpp +++ b/test/src/unit-regression2.cpp @@ -69,6 +69,7 @@ using ordered_json = nlohmann::ordered_json; #endif #endif +#ifdef JSON_STD_FILESYSTEM_EXPERIMENTAL #if JSON_STD_FILESYSTEM_EXPERIMENTAL #include namespace nlohmann::detail @@ -83,6 +84,7 @@ namespace std_fs = std::filesystem; } // namespace nlohmann::detail #endif #endif +#endif #ifdef JSON_HAS_CPP_20 #include