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 --- libbutl/url.mxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libbutl/url.mxx') diff --git a/libbutl/url.mxx b/libbutl/url.mxx index d50ae55..ea01725 100644 --- a/libbutl/url.mxx +++ b/libbutl/url.mxx @@ -255,14 +255,14 @@ LIBBUTL_MODEXPORT namespace butl class basic_url { public: - using traits = T; //@@ TODO: rename traits_type. + using traits_type = T; - using string_type = typename traits::string_type; + using string_type = typename traits_type::string_type; using char_type = typename string_type::value_type; - using path_type = typename traits::path_type; + using path_type = typename traits_type::path_type; - using scheme_type = typename traits::scheme_type; - using authority_type = typename traits::authority_type; + using scheme_type = typename traits_type::scheme_type; + using authority_type = typename traits_type::authority_type; using host_type = typename authority_type::host_type; scheme_type scheme; -- cgit v1.1