mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-15 22:35: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 &&
|
||||
(*ptr == '/'
|
||||
# if defined(_WIN32)
|
||||
|| *ptr == ' \\'
|
||||
|| *ptr == '\\'
|
||||
# endif
|
||||
)) {
|
||||
ptr += step;
|
||||
|
||||
Reference in New Issue
Block a user