This is an automated email from the ASF dual-hosted git repository. cmcfarlen pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit e0cdb2713a7746d47c166edcd009b584031438b3 Author: Brian Olsen <[email protected]> AuthorDate: Fri Feb 23 16:01:24 2024 -0700 ipspace: introduce intermediate temporary to restore the structed binding decl (#11093) (cherry picked from commit 293bccb26a7076fdbed7dbd2d09dafc81214daf4) --- plugins/experimental/txn_box/plugin/src/ip_space.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/plugins/experimental/txn_box/plugin/src/ip_space.cc b/plugins/experimental/txn_box/plugin/src/ip_space.cc index 429db791f7..7ccb8c963c 100644 --- a/plugins/experimental/txn_box/plugin/src/ip_space.cc +++ b/plugins/experimental/txn_box/plugin/src/ip_space.cc @@ -907,10 +907,11 @@ Mod_ip_space::operator()(Context &ctx, feature_type_for<IP_ADDR> addr) } Feature value{FeatureView::Literal("")}; if (active._space) { - auto [range, payload] = *active._space->space.find(addr); - active._row = range.empty() ? nullptr : &payload; - active._addr = addr; - active._drtv = drtv; + auto iter = active._space->space.find(addr); + auto &&[range, payload] = *iter; + active._row = range.empty() ? nullptr : &payload; + active._addr = addr; + active._drtv = drtv; // Current active data. auto *store = Txb_IP_Space::ctx_active_info(ctx);
