Skip to content

Commit

Permalink
Fix variable shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrobbel committed Sep 27, 2023
1 parent 9a73f02 commit 2d49291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exporters/otlp/src/otlp_recordable_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ void OtlpRecordableUtils::PopulateRequest(
scope_spans->set_schema_url(input_scope_spans.first->GetSchemaURL());

// Add all spans to this scope spans
for (auto &input_scope_spans : input_scope_spans.second)
for (auto &input_span : input_scope_spans.second)
{
*scope_spans->add_spans() = std::move(input_scope_spans->span());
*scope_spans->add_spans() = std::move(input_span->span());
}
}
}
Expand Down

0 comments on commit 2d49291

Please sign in to comment.