diff options
Diffstat (limited to 'libbutl/path-map.mxx')
-rw-r--r-- | libbutl/path-map.mxx | 9 |
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>; } |