This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 8.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/8.1.x by this push:
     new a621bde  Fix build breakage from backporting bd5f0535780
a621bde is described below

commit a621bdec0e5a96376665ae23b64c5a240d1c6639
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Wed May 13 16:41:28 2020 -0600

    Fix build breakage from backporting bd5f0535780
---
 proxy/logging/Log.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/proxy/logging/Log.cc b/proxy/logging/Log.cc
index 07342ee..001a4a6 100644
--- a/proxy/logging/Log.cc
+++ b/proxy/logging/Log.cc
@@ -877,17 +877,17 @@ Log::init_fields()
   field = new LogField("cache_read_retry_attempts", "crra", LogField::dINT, 
&LogAccess::marshal_cache_read_retries,
                        &LogAccess::unmarshal_int_to_str);
   global_field_list.add(field, false);
-  field_symbol_hash.emplace("crra", field);
+  ink_hash_table_insert(field_symbol_hash, "crra", field);
 
   field = new LogField("cache_write_retry_attempts", "cwra", LogField::dINT, 
&LogAccess::marshal_cache_write_retries,
                        &LogAccess::unmarshal_int_to_str);
   global_field_list.add(field, false);
-  field_symbol_hash.emplace("cwra", field);
+  ink_hash_table_insert(field_symbol_hash, "cwra", field);
 
   field = new LogField("cache_collapsed_connection_success", "cccs", 
LogField::dINT,
                        &LogAccess::marshal_cache_collapsed_connection_success, 
&LogAccess::unmarshal_int_to_str);
   global_field_list.add(field, false);
-  field_symbol_hash.emplace("cccs", field);
+  ink_hash_table_insert(field_symbol_hash, "cccs", field);
 
   field = new LogField("client_transaction_priority_weight", "ctpw", 
LogField::sINT,
                        
&LogAccess::marshal_client_http_transaction_priority_weight, 
&LogAccess::unmarshal_int_to_str);

Reply via email to