From 35f7bd152336d2b259fc8d145ba1543db72f5b90 Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 19 Mar 2021 12:24:25 +0100 Subject: [PATCH] Correcting spelling errors in filesystem.hpp Correcting spelling errors in filesystem.hpp (reported upstream as https://github.com/gulrak/filesystem/pull/109) --- src/filesystem.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/filesystem.hpp b/src/filesystem.hpp index fffec69daf8..e45f296e0ea 100644 --- a/src/filesystem.hpp +++ b/src/filesystem.hpp @@ -255,7 +255,7 @@ #define LWG_2682_BEHAVIOUR //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // LWG #2395 makes crate_directory/create_directories not emit an error if there is a regular -// file with that name, it is superceded by P1164R1, so only activate if really needed +// file with that name, it is superseded by P1164R1, so only activate if really needed // #define LWG_2935_BEHAVIOUR //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // LWG #2936 enables new element wise (more expensive) path comparison @@ -275,7 +275,7 @@ // as UTF-8 encoded. With this define you can enfoce the old behavior on Windows, using // std::string as backend and for fs::path::native() and char for fs::path::c_str(). This // needs more conversions so it is (an was before v1.5) slower, bot might help keeping source -// homogenous in a multi platform project. +// homogeneous in a multi platform project. // #define GHC_WIN_DISABLE_WSTRING_STORAGE_TYPE //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Raise errors/exceptions when invalid unicode codepoints or UTF-8 sequences are found, @@ -296,7 +296,7 @@ #define GHC_WITH_EXCEPTIONS #endif #if !defined(GHC_WITH_EXCEPTIONS) && defined(GHC_RAISE_UNICODE_ERRORS) -#error "Can't raise unicode errors whith exception support disabled" +#error "Can't raise unicode errors with exception support disabled" #endif namespace ghc { @@ -368,7 +368,7 @@ class GHC_FS_API_CLASS path using path_helper_base::preferred_separator; // 30.10.10.1 enumeration format - /// The path format in wich the constructor argument is given. + /// The path format in which the constructor argument is given. enum format { generic_format, ///< The generic format, internally used by ///< ghc::filesystem::path with slashes