Skip to content

Commit 235d081

Browse files
committed
fix clang-tidy performance-unnecessary-value-param warning
1 parent 6155bd6 commit 235d081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporters/otlp/src/otlp_grpc_client.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ static sdk::common::ExportResult InternalDelegateAsyncExport(
238238
stub->experimental_async()
239239
# endif
240240
->Export(call_data->grpc_context.get(), call_data->request, call_data->response,
241-
[call_data, async_data, export_data_name](::grpc::Status grpc_status) {
241+
[call_data, async_data, export_data_name](const ::grpc::Status &grpc_status) {
242242
{
243243
std::lock_guard<std::mutex> lock{async_data->running_calls_lock};
244244
async_data->running_calls.erase(

0 commit comments

Comments
 (0)