From 2e813834d09ccdf858868f7f47100d150e92490b Mon Sep 17 00:00:00 2001 From: "Mark D. Roth" Date: Wed, 3 Jul 2024 21:35:32 +0000 Subject: [PATCH] clang-tidy --- test/cpp/end2end/xds/xds_end2end_test_lib.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cpp/end2end/xds/xds_end2end_test_lib.cc b/test/cpp/end2end/xds/xds_end2end_test_lib.cc index dc1907cd8a7..63d089060ae 100644 --- a/test/cpp/end2end/xds/xds_end2end_test_lib.cc +++ b/test/cpp/end2end/xds/xds_end2end_test_lib.cc @@ -577,7 +577,7 @@ std::shared_ptr XdsEnd2endTest::CreateChannel( if (credentials == nullptr) { credentials = std::make_shared(); } - return grpc::CreateCustomChannel(uri, std::move(credentials), *args); + return grpc::CreateCustomChannel(uri, credentials, *args); } Status XdsEnd2endTest::SendRpc( @@ -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