aboutsummaryrefslogtreecommitdiff
path: root/build2/bash/rule.cxx
diff options
context:
space:
mode:
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)
{