aboutsummaryrefslogtreecommitdiff
path: root/build2/bash/rule.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-06-03 12:59:26 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-06-03 13:00:04 +0300
commitd37709e5c27b1fe7b98de57247449c6272c79580 (patch)
tree9d453f1f0fe949175b1d35eff7121a984656c14d /build2/bash/rule.cxx
parent13c05ef5a633d3779e4b1b01a0306755e27c2c4b (diff)
Adapt to renaming traits alias to traits_type for basic_path, basic_url, and string_table class templates
Diffstat (limited to 'build2/bash/rule.cxx')
-rw-r--r--build2/bash/rule.cxx4
1 files changed, 2 insertions, 2 deletions
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)
{