diff options
Diffstat (limited to 'build2/functions-path.cxx')
-rw-r--r-- | build2/functions-path.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/functions-path.cxx b/build2/functions-path.cxx index 1bd4fc7..6b435f5 100644 --- a/build2/functions-path.cxx +++ b/build2/functions-path.cxx @@ -25,7 +25,7 @@ namespace build2 static value concat_path_string (path l, string sr) { - if (path::traits::is_separator (sr[0])) // '\0' if empty. + if (path::traits_type::is_separator (sr[0])) // '\0' if empty. { sr.erase (0, 1); path pr (move (sr)); @@ -49,7 +49,7 @@ namespace build2 static value concat_dir_path_string (dir_path l, string sr) { - if (path::traits::is_separator (sr[0])) // '\0' if empty. + if (path::traits_type::is_separator (sr[0])) // '\0' if empty. sr.erase (0, 1); path pr (move (sr)); |