Skip to content

Commit

Permalink
clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
markdroth committed Jul 3, 2024
1 parent e58fc96 commit 2e81383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cpp/end2end/xds/xds_end2end_test_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ std::shared_ptr<Channel> XdsEnd2endTest::CreateChannel(
if (credentials == nullptr) {
credentials = std::make_shared<FakeTransportSecurityChannelCredentials>();
}
return grpc::CreateCustomChannel(uri, std::move(credentials), *args);
return grpc::CreateCustomChannel(uri, credentials, *args);
}

Status XdsEnd2endTest::SendRpc(
Expand Down Expand Up @@ -858,7 +858,7 @@ XdsEnd2endTest::CreateXdsChannelCredentials() {
options.set_verify_server_certs(true);
options.set_check_call_host(false);
auto tls_creds = grpc::experimental::TlsCredentials(options);
return XdsCredentials(std::move(tls_creds));
return XdsCredentials(tls_creds);
}

std::shared_ptr<ServerCredentials>
Expand Down

0 comments on commit 2e81383

Please sign in to comment.