diff options
author | Fred Baksik <fdk17@ftml.net> | 2020-07-24 23:34:25 (GMT) |
---|---|---|
committer | Fred Baksik <fdk17@ftml.net> | 2020-07-24 23:36:46 (GMT) |
commit | bfed6131327bdae1948c0220598ded32a4991768 (patch) | |
tree | b1a82e6cfa85d6ffb360d4cd68bdf5d0c0044dc6 /Utilities | |
parent | 1138907a58402f8004a6c6ff163a30b58239ece7 (diff) | |
download | CMake-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.cxx | 2 |
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; |