aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/pkgconfig.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/cc/pkgconfig.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/cc/pkgconfig.cxx')
-rw-r--r--build2/cc/pkgconfig.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/pkgconfig.cxx b/build2/cc/pkgconfig.cxx
index 6f30dc9..dcf3cff 100644
--- a/build2/cc/pkgconfig.cxx
+++ b/build2/cc/pkgconfig.cxx
@@ -1317,7 +1317,7 @@ namespace build2
auto strip_lib = [&n] ()
{
if (n.size () > 3 &&
- path::traits::compare (n.c_str (), 3, "lib", 3) == 0)
+ path::traits_type::compare (n.c_str (), 3, "lib", 3) == 0)
n.erase (0, 3);
};
@@ -1328,7 +1328,7 @@ namespace build2
//
n = t->path ().leaf ().base ().base ().string ();
- if (path::traits::compare (n.c_str (), n.size (),
+ if (path::traits_type::compare (n.c_str (), n.size (),
l.name.c_str (), l.name.size ()) != 0)
strip_lib ();
}