summaryrefslogtreecommitdiff
path: root/Utilities/std
diff options
context:
space:
mode:
authorFred Baksik <fdk17@ftml.net>2020-07-24 19:34:25 -0400
committerFred Baksik <fdk17@ftml.net>2020-07-24 19:36:46 -0400
commitbfed6131327bdae1948c0220598ded32a4991768 (patch)
treeb1a82e6cfa85d6ffb360d4cd68bdf5d0c0044dc6 /Utilities/std
parent1138907a58402f8004a6c6ff163a30b58239ece7 (diff)
downloadcmake-bfed6131327bdae1948c0220598ded32a4991768.tar.gz
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/std')
-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 b8c5631c6f..808999899c 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;