diff --git a/cpp/src/arrow/filesystem/s3fs.cc b/cpp/src/arrow/filesystem/s3fs.cc index 20db3486cd247..f011dcf5d9355 100644 --- a/cpp/src/arrow/filesystem/s3fs.cc +++ b/cpp/src/arrow/filesystem/s3fs.cc @@ -2410,9 +2410,10 @@ class S3FileSystem::Impl : public std::enable_shared_from_thisAddSimpleTask( [=, file_paths = std::move(file_paths)] {