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/bash/rule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/bash/rule.cxx') diff --git a/build2/bash/rule.cxx b/build2/bash/rule.cxx index cc5d256..09cc930 100644 --- a/build2/bash/rule.cxx +++ b/build2/bash/rule.cxx @@ -138,7 +138,7 @@ namespace build2 b != nullptr; b = (e != nullptr ? e + 1 : e)) { - e = strchr (b, path::traits::path_separator); + e = strchr (b, path::traits_type::path_separator); // Empty path (i.e., a double colon or a colon at the beginning or // end of PATH) means search in the current dirrectory. We aren't @@ -270,7 +270,7 @@ namespace build2 const string& ps (pp.string ()); const string& is (ip.string ()); - if (path::traits::compare ( + if (path::traits_type::compare ( ps.c_str () + ps.size () - n, n, is.c_str (), is.size ()) == 0) { -- cgit v1.1