From 2a7a93bb9e6f828ea0d4b59b400fbb2e16657c9c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 3 Jun 2019 12:55:14 +0300 Subject: Rename traits alias to traits_type for basic_path, basic_url, and string_table class templates --- tests/process/driver.cxx | 2 +- tests/url/driver.cxx | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'tests') diff --git a/tests/process/driver.cxx b/tests/process/driver.cxx index e3c8e4a..ee946ca 100644 --- a/tests/process/driver.cxx +++ b/tests/process/driver.cxx @@ -381,7 +381,7 @@ main (int argc, const char* argv[]) string paths (fp.directory ().string ()); if (optional p = getenv ("PATH")) - paths += string (1, path::traits::path_separator) + *p; + paths += string (1, path::traits_type::path_separator) + *p; setenv ("PATH", paths); diff --git a/tests/url/driver.cxx b/tests/url/driver.cxx index 8160d7d..5d6069f 100644 --- a/tests/url/driver.cxx +++ b/tests/url/driver.cxx @@ -349,13 +349,13 @@ try if (!u.empty ()) { wstring s; - wcout << wurl::traits::translate_scheme (s, - u.scheme, - nullopt, - nullopt, - nullopt, - nullopt, - false) << endl; + wcout << wurl::traits_type::translate_scheme (s, + u.scheme, + nullopt, + nullopt, + nullopt, + nullopt, + false) << endl; } else wcout << L"[null]" << endl; -- cgit v1.1