summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorFred Baksik <fdk17@ftml.net>2020-07-24 23:34:25 (GMT)
committerFred Baksik <fdk17@ftml.net>2020-07-24 23:36:46 (GMT)
commitbfed6131327bdae1948c0220598ded32a4991768 (patch)
treeb1a82e6cfa85d6ffb360d4cd68bdf5d0c0044dc6 /Utilities
parent1138907a58402f8004a6c6ff163a30b58239ece7 (diff)
downloadCMake-bfed6131327bdae1948c0220598ded32a4991768.zip
CMake-bfed6131327bdae1948c0220598ded32a4991768.tar.gz
CMake-bfed6131327bdae1948c0220598ded32a4991768.tar.bz2
STL Support: Fix cm::filesystem warnings; check for '\' not multichar ' \'.
Utilities/std/cm/bits/fs_path.cxx:334:24: warning: multi-character character constant [-Wmultichar] || *ptr == ' \\' ^~~~~
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/std/cm/bits/fs_path.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/std/cm/bits/fs_path.cxx b/Utilities/std/cm/bits/fs_path.cxx
index b8c5631..8089998 100644
--- a/Utilities/std/cm/bits/fs_path.cxx
+++ b/Utilities/std/cm/bits/fs_path.cxx
@@ -331,7 +331,7 @@ private:
while (ptr != end &&
(*ptr == '/'
# if defined(_WIN32)
- || *ptr == ' \\'
+ || *ptr == '\\'
# endif
)) {
ptr += step;