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/cc/pkgconfig.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/cc/pkgconfig.cxx') 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 (); } -- cgit v1.1