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/path-map.mxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libbutl/path-map.mxx') diff --git a/libbutl/path-map.mxx b/libbutl/path-map.mxx index 1cd4ab0..2325723 100644 --- a/libbutl/path-map.mxx +++ b/libbutl/path-map.mxx @@ -52,7 +52,7 @@ LIBBUTL_MODEXPORT namespace butl typedef C delimiter_type; typedef typename key_type::string_type string_type; typedef typename key_type::size_type size_type; - typedef typename key_type::traits traits_type; + typedef typename key_type::traits_type traits_type; explicit compare_prefix (delimiter_type) {} @@ -129,7 +129,7 @@ LIBBUTL_MODEXPORT namespace butl static bool root (const string_type& p) { - return p.size () == 1 && key_type::traits::is_separator (p[0]); + return p.size () == 1 && key_type::traits_type::is_separator (p[0]); } }; @@ -137,9 +137,10 @@ LIBBUTL_MODEXPORT namespace butl // path_traits is used instead). // template - using path_map = prefix_map; + using path_map = + prefix_map; template using dir_path_map = - prefix_map; + prefix_map; } -- cgit v1.1