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/common.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/cc/common.cxx') diff --git a/build2/cc/common.cxx b/build2/cc/common.cxx index d4c60ec..085ed41 100644 --- a/build2/cc/common.cxx +++ b/build2/cc/common.cxx @@ -179,8 +179,8 @@ namespace build2 if (pn > dn && p.compare (0, dn, ds) == 0 && - (path::traits::is_separator (ds[dn - 1]) || - path::traits::is_separator (p[dn]))) + (path::traits_type::is_separator (ds[dn - 1]) || + path::traits_type::is_separator (p[dn]))) return true; } @@ -277,7 +277,7 @@ namespace build2 // auto sys_simple = [&sysd, &sys, &find_sysd] (const string& p) -> bool { - bool s (!path::traits::absolute (p)); + bool s (!path::traits_type::absolute (p)); if (!s) { -- cgit v1.1