diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-06-03 12:55:14 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-06-03 12:55:14 +0300 |
commit | 2a7a93bb9e6f828ea0d4b59b400fbb2e16657c9c (patch) | |
tree | cbf988364a2daab7e72f7e2f6d23f6442caf347e /libbutl/string-table.txx | |
parent | 57a9066812b06262265594eac7c62c394f51e947 (diff) |
Rename traits alias to traits_type for basic_path, basic_url, and string_table class templates
Diffstat (limited to 'libbutl/string-table.txx')
-rw-r--r-- | libbutl/string-table.txx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libbutl/string-table.txx b/libbutl/string-table.txx index 3ee710a..77079b2 100644 --- a/libbutl/string-table.txx +++ b/libbutl/string-table.txx @@ -12,15 +12,14 @@ namespace butl // Note: move(d) would be tricky since the key still points to it. // - auto r (map_.emplace ( - key_type (&traits::key (d)), - value_type {static_cast<I> (i), d})); + auto r (map_.emplace (key_type (&traits_type::key (d)), + value_type {static_cast<I> (i), d})); if (r.second) { assert (i <= std::numeric_limits<I>::max ()); - r.first->first.p = &traits::key (r.first->second.d); // Update key. + r.first->first.p = &traits_type::key (r.first->second.d); // Update key. vec_.push_back (r.first); } |