Skip to content

Commit

Permalink
Update sdk/src/trace/batch_span_processor.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Alff <marc.alff@free.fr>
  • Loading branch information
msiddhu and marcalff authored Jun 27, 2024
1 parent 2d120cc commit dbcc4a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/src/trace/batch_span_processor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,9 @@ void BatchSpanProcessor::Export()
break;
}

//reserves the space for the number of records to be exported
// reserves the space for the number of records to be exported
spans_arr.reserve(num_records_to_export);

buffer_.Consume(num_records_to_export,
[&](CircularBufferRange<AtomicUniquePtr<Recordable>> range) noexcept {
range.ForEach([&](AtomicUniquePtr<Recordable> &ptr) {
Expand Down

0 comments on commit dbcc4a7

Please sign in to comment.