From ecb2654f987a2d612c8599984110aa673b6e1a73 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 3 Jun 2019 13:03:46 +0300 Subject: Adapt to renaming traits alias to traits_type for basic_path, basic_url, and string_table class templates --- bdep/git.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bdep/git.cxx') diff --git a/bdep/git.cxx b/bdep/git.cxx index 9509275..6b23342 100644 --- a/bdep/git.cxx +++ b/bdep/git.cxx @@ -173,9 +173,9 @@ namespace bdep // the schemes recognized by git currently do and probably never will). // size_t p (s.find (':')); - if (p != string::npos && // Has ':'. - url::traits::find (s, p) == 0 && // Scheme starts at 0. - s.rfind ('.', p - 1) == string::npos) // No dots in scheme. + if (p != string::npos && // Has ':'. + url::traits_type::find (s, p) == 0 && // Scheme starts at 0. + s.rfind ('.', p - 1) == string::npos) // No dots in scheme. { u = parse_url (s, "remote.origin.url"); } @@ -183,7 +183,7 @@ namespace bdep { // Absolute path or the SSH thing. // - if (path::traits::absolute (s)) + if (path::traits_type::absolute (s)) { // This is what we want to end up with: // -- cgit v1.1