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/string-table.txx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libbutl/string-table.txx') 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), d})); + auto r (map_.emplace (key_type (&traits_type::key (d)), + value_type {static_cast (i), d})); if (r.second) { assert (i <= std::numeric_limits::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); } -- cgit v1.1