From d37709e5c27b1fe7b98de57247449c6272c79580 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 3 Jun 2019 12:59:26 +0300 Subject: Adapt to renaming traits alias to traits_type for basic_path, basic_url, and string_table class templates --- build2/cc/guess.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/cc/guess.cxx') 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. -- cgit v1.1