Browse Source

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 == ' \\'
                        ^~~~~
Fred Baksik 5 years ago
parent
commit
bfed613132
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Utilities/std/cm/bits/fs_path.cxx

+ 1 - 1
Utilities/std/cm/bits/fs_path.cxx

@@ -331,7 +331,7 @@ private:
     while (ptr != end &&
            (*ptr == '/'
 #  if defined(_WIN32)
-            || *ptr == ' \\'
+            || *ptr == '\\'
 #  endif
             )) {
       ptr += step;