From 6da95c09e7d28aa20dc7ccd823a34e895577b554 Mon Sep 17 00:00:00 2001 From: Daniel Stevens Date: Mon, 18 May 2026 00:10:01 -0600 Subject: [PATCH] Remove `__cpp_lib_filesystem` check for `` This project has long since targetted `c++17`, which includes `` as part of the standard. It has then been updated to target `c++20`. Further the `__cpp_lib_filesystem` macro is defined in `` which is part of the `c++20` standard. That means we'd need to use a `c++20` feature to detect support for a `c++17` feature. Seems kind of pointless. --- OP2Utility/src/XFile.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/OP2Utility/src/XFile.cpp b/OP2Utility/src/XFile.cpp index 5ccc949a..3de5858e 100644 --- a/OP2Utility/src/XFile.cpp +++ b/OP2Utility/src/XFile.cpp @@ -3,13 +3,8 @@ #include #include -#ifdef __cpp_lib_filesystem #include namespace fs = std::filesystem; -#else -#include -namespace fs = std::experimental::filesystem; -#endif namespace OP2Utility::XFile {