Skip to content

Commit

Permalink
Update sdk/src/logs/batch_log_record_processor.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
marcalff authored Jun 27, 2024
1 parent 9f36f8a commit 17aeaba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/logs/batch_log_record_processor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ void BatchLogRecordProcessor::Export()
}

// Reserve space for the number of records
records_arr.reserve(num_records_to_export);
records_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 17aeaba

Please sign in to comment.