aboutsummaryrefslogtreecommitdiff
path: root/build2/target.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/target.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/target.cxx')
-rw-r--r--build2/target.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/build2/target.cxx b/build2/target.cxx
index 667933a..fee77b4 100644
--- a/build2/target.cxx
+++ b/build2/target.cxx
@@ -233,7 +233,7 @@ namespace build2
size_t p;
if (v.back () != '.')
{
- if ((p = path::traits::find_extension (v)) != string::npos)
+ if ((p = path::traits_type::find_extension (v)) != string::npos)
r = string (v.c_str () + p + 1);
}
else
@@ -285,7 +285,7 @@ namespace build2
}
else if (de)
{
- if (path::traits::find_extension (v) != string::npos)
+ if (path::traits_type::find_extension (v) != string::npos)
v += "...";
}
}
@@ -966,7 +966,7 @@ namespace build2
{
// Add/strip trailing directory separator unless already there.
//
- bool d (path::traits::is_separator (v.back ()));
+ bool d (path::traits_type::is_separator (v.back ()));
if (r)
{
@@ -975,7 +975,7 @@ namespace build2
}
else if (!d)
{
- v += path::traits::directory_separator;
+ v += path::traits_type::directory_separator;
return true;
}