diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-06-03 12:59:26 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-06-03 13:00:04 +0300 |
commit | d37709e5c27b1fe7b98de57247449c6272c79580 (patch) | |
tree | 9d453f1f0fe949175b1d35eff7121a984656c14d /build2/cc/common.cxx | |
parent | 13c05ef5a633d3779e4b1b01a0306755e27c2c4b (diff) |
Adapt to renaming traits alias to traits_type for basic_path, basic_url, and string_table class templates
Diffstat (limited to 'build2/cc/common.cxx')
-rw-r--r-- | build2/cc/common.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cc/common.cxx b/build2/cc/common.cxx index d4c60ec..085ed41 100644 --- a/build2/cc/common.cxx +++ b/build2/cc/common.cxx @@ -179,8 +179,8 @@ namespace build2 if (pn > dn && p.compare (0, dn, ds) == 0 && - (path::traits::is_separator (ds[dn - 1]) || - path::traits::is_separator (p[dn]))) + (path::traits_type::is_separator (ds[dn - 1]) || + path::traits_type::is_separator (p[dn]))) return true; } @@ -277,7 +277,7 @@ namespace build2 // auto sys_simple = [&sysd, &sys, &find_sysd] (const string& p) -> bool { - bool s (!path::traits::absolute (p)); + bool s (!path::traits_type::absolute (p)); if (!s) { |