diff --git a/fbpcs/emp_games/pcf2_shard_combiner/util/AggMetricsThresholdCheckers_impl.h b/fbpcs/emp_games/pcf2_shard_combiner/util/AggMetricsThresholdCheckers_impl.h index 212910d2f..b422207c4 100644 --- a/fbpcs/emp_games/pcf2_shard_combiner/util/AggMetricsThresholdCheckers_impl.h +++ b/fbpcs/emp_games/pcf2_shard_combiner/util/AggMetricsThresholdCheckers_impl.h @@ -157,11 +157,11 @@ checkThresholdAndUpdateMetric( return getGroupLiftChecker( threshold, sentinelVal); } else { - return [threshold, sentinelVal]( - AggMetrics_sp) { - // for any other type do nothing. - XLOG(WARN) << "Threshold: " << threshold << " is unused"; - }; + return + [threshold](AggMetrics_sp) { + // for any other type do nothing. + XLOG(WARN) << "Threshold: " << threshold << " is unused"; + }; } }