aboutsummaryrefslogtreecommitdiff
path: root/libbutl/path-map.mxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-06-03 12:55:14 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-06-03 12:55:14 +0300
commit2a7a93bb9e6f828ea0d4b59b400fbb2e16657c9c (patch)
treecbf988364a2daab7e72f7e2f6d23f6442caf347e /libbutl/path-map.mxx
parent57a9066812b06262265594eac7c62c394f51e947 (diff)
Rename traits alias to traits_type for basic_path, basic_url, and string_table class templates
Diffstat (limited to 'libbutl/path-map.mxx')
-rw-r--r--libbutl/path-map.mxx9
1 files changed, 5 insertions, 4 deletions
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 <typename T>
- using path_map = prefix_map<path, T, path::traits::directory_separator>;
+ using path_map =
+ prefix_map<path, T, path::traits_type::directory_separator>;
template <typename T>
using dir_path_map =
- prefix_map<dir_path, T, dir_path::traits::directory_separator>;
+ prefix_map<dir_path, T, dir_path::traits_type::directory_separator>;
}