From 7fcf9db5346f332d93a5ec135d3e17620a5392a9 Mon Sep 17 00:00:00 2001 From: Thomas Newton Date: Sun, 15 Oct 2023 19:33:59 +0100 Subject: [PATCH] Remove unnecessary move --- cpp/src/arrow/filesystem/azurefs.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cpp/src/arrow/filesystem/azurefs.cc b/cpp/src/arrow/filesystem/azurefs.cc index abb0d8ad69048..4dfeeebe77ad5 100644 --- a/cpp/src/arrow/filesystem/azurefs.cc +++ b/cpp/src/arrow/filesystem/azurefs.cc @@ -345,8 +345,8 @@ class AzureFileSystem::Impl { RETURN_NOT_OK(ValidateFilePath(path)); auto blob_client = std::make_shared( - std::move(service_client_->GetBlobContainerClient(path.container) - .GetBlobClient(path.path_to_file))); + service_client_->GetBlobContainerClient(path.container) + .GetBlobClient(path.path_to_file)); auto ptr = std::make_shared(blob_client, fs->io_context(), path); RETURN_NOT_OK(ptr->Init()); @@ -366,8 +366,8 @@ class AzureFileSystem::Impl { RETURN_NOT_OK(ValidateFilePath(path)); auto blob_client = std::make_shared( - std::move(service_client_->GetBlobContainerClient(path.container) - .GetBlobClient(path.path_to_file))); + service_client_->GetBlobContainerClient(path.container) + .GetBlobClient(path.path_to_file)); auto ptr = std::make_shared(blob_client, fs->io_context(), path, info.size());