Browse Source

Merge topic 'consume_separator'

bfed613132 STL Support: Fix cm::filesystem warnings; check for '\' not multichar ' \'.

Acked-by: Kitware Robot <[email protected]>
Merge-request: !5062
Marc Chevrier 5 years ago
parent
commit
2d0fe11f3e
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;