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

dmeden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 1f066251ac CID1534729: txnbox - avoid copying object. (#11134)
1f066251ac is described below

commit 1f066251ac7dbdf5c842f2c1e61be068055e430b
Author: Damian Meden <[email protected]>
AuthorDate: Tue Mar 12 10:26:29 2024 +0100

    CID1534729: txnbox - avoid copying object. (#11134)
---
 plugins/experimental/txn_box/plugin/src/text_block.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/experimental/txn_box/plugin/src/text_block.cc 
b/plugins/experimental/txn_box/plugin/src/text_block.cc
index fea9d4b341..a514c4701c 100644
--- a/plugins/experimental/txn_box/plugin/src/text_block.cc
+++ b/plugins/experimental/txn_box/plugin/src/text_block.cc
@@ -482,8 +482,8 @@ Mod_as_text_block::operator()(Context &ctx, Feature 
&feature)
 {
   Feature zret;
   if (IndexFor(STRING) == feature.index()) {
-    auto tag = std::get<IndexFor(STRING)>(feature); // get the name.
-    zret     = Ex_text_block::extract_block(ctx, tag);
+    auto const &tag = std::get<IndexFor(STRING)>(feature); // get the name.
+    zret            = Ex_text_block::extract_block(ctx, tag);
   }
 
   if (is_nil(zret)) {

Reply via email to