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/guess.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/guess.cxx')
-rw-r--r-- | build2/cc/guess.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/guess.cxx b/build2/cc/guess.cxx index 0932083..f5db253 100644 --- a/build2/cc/guess.cxx +++ b/build2/cc/guess.cxx @@ -219,7 +219,7 @@ namespace build2 // Analyze the last path component only. // const string& s (xc.string ()); - size_t s_p (path::traits::find_leaf (s)); + size_t s_p (path::traits_type::find_leaf (s)); size_t s_n (s.size ()); // Name separator characters (e.g., '-' in 'g++-4.8'). @@ -1810,7 +1810,7 @@ namespace build2 { if (pre.second != 0 && pre.second != string::npos && - !path::traits::is_separator (xc.string ()[pre.second - 1])) + !path::traits_type::is_separator (xc.string ()[pre.second - 1])) { r.bin_pattern.assign (xc.string (), 0, pre.second); r.bin_pattern += '*'; // '-' or similar is already there. |