mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-16 15:30:33 -05:00
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 == ' \\'
^~~~~
This commit is contained in:
@@ -331,7 +331,7 @@ private:
|
|||||||
while (ptr != end &&
|
while (ptr != end &&
|
||||||
(*ptr == '/'
|
(*ptr == '/'
|
||||||
# if defined(_WIN32)
|
# if defined(_WIN32)
|
||||||
|| *ptr == ' \\'
|
|| *ptr == '\\'
|
||||||
# endif
|
# endif
|
||||||
)) {
|
)) {
|
||||||
ptr += step;
|
ptr += step;
|
||||||
|
|||||||
Reference in New Issue
Block a user