From b04a6dcd73c01b28c1c1dbc939622d2cd3c75d24 Mon Sep 17 00:00:00 2001 From: CEL Dev Team Date: Wed, 4 Sep 2024 14:04:31 -0700 Subject: [PATCH] Remove redundant call to Reset(). It is already being invoked in EvaluateWithCallback. PiperOrigin-RevId: 671092721 --- eval/eval/cel_expression_flat_impl.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/eval/eval/cel_expression_flat_impl.cc b/eval/eval/cel_expression_flat_impl.cc index b23dc7aac..22467dfcf 100644 --- a/eval/eval/cel_expression_flat_impl.cc +++ b/eval/eval/cel_expression_flat_impl.cc @@ -76,7 +76,6 @@ absl::StatusOr CelExpressionFlatImpl::Trace( CelEvaluationListener callback) const { auto state = ::cel::internal::down_cast(_state); - state->state().Reset(); cel::interop_internal::AdapterActivationImpl modern_activation(activation); CEL_ASSIGN_OR_RETURN(