Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed Feb 1, 2023
1 parent 33e4b38 commit 7fca68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/test/metrics/sum_aggregation_benchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void BM_SumAggregation(benchmark::State &state)
}
std::vector<SumPointData> actuals;
std::vector<std::thread> collectionThreads;
std::function<void()> collectMetrics = [&reader, &actuals, &TOTAL_MEASUREMENTS]() {
std::function<void()> collectMetrics = [&reader, &actuals]() {
reader->Collect([&](ResourceMetrics &rm) {
for (const ScopeMetrics &smd : rm.scope_metric_data_)
{
Expand Down

0 comments on commit 7fca68f

Please sign in to comment.