From 23710d3b560c2696b3b1ddc2c5c060e367f20c95 Mon Sep 17 00:00:00 2001 From: Chris Sauer Date: Wed, 26 Jul 2023 21:56:08 -0700 Subject: [PATCH] Remove conditional inclusion snippet in filesystem.hpp Reduces duplication and tendency to get out of sync. As evidence of the problem, the snippet had previously (before this PR) started to diverge. It seemed more prudent to delete than to fix, given the usage instructions seem to be centralized in the readme and the dynamic selection headers should probably be recommended anyway. --- include/ghc/filesystem.hpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/include/ghc/filesystem.hpp b/include/ghc/filesystem.hpp index bbb1023..cfb17e6 100644 --- a/include/ghc/filesystem.hpp +++ b/include/ghc/filesystem.hpp @@ -25,23 +25,6 @@ // SOFTWARE. // //--------------------------------------------------------------------------------------- -// -// To dynamically select std::filesystem where available on most platforms, -// you could use: -// -// #if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || (defined(__cplusplus) && __cplusplus >= 201703L)) && defined(__has_include) -// #if __has_include() && (!defined(__MAC_OS_X_VERSION_MIN_REQUIRED) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) -// #define GHC_USE_STD_FS -// #include -// namespace fs = std::filesystem; -// #endif -// #endif -// #ifndef GHC_USE_STD_FS -// #include -// namespace fs = ghc::filesystem; -// #endif -// -//--------------------------------------------------------------------------------------- #ifndef GHC_FILESYSTEM_H #define GHC_FILESYSTEM_H