Skip to content

Commit

Permalink
Update batch_span_processor.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
msiddhu authored Jun 27, 2024
1 parent b6ec481 commit 9f36f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/trace/batch_span_processor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ void BatchSpanProcessor::Export()
break;
}

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

buffer_.Consume(num_records_to_export,
Expand Down

0 comments on commit 9f36f8a

Please sign in to comment.