Skip to content

Commit

Permalink
Avoid implicit type cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Newton committed Dec 2, 2024
1 parent 3e546e8 commit 3962894
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cpp/src/arrow/filesystem/filesystem.cc
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ Status CopyFiles(const std::vector<FileLocator>& sources,
destinations.size(), " paths.");
}

auto copy_one_file = [&](int i,
auto copy_one_file = [&](size_t i,
const FileLocator& source_file_locator) -> Result<Future<>> {
if (source_file_locator.filesystem->Equals(destinations[i].filesystem)) {
RETURN_NOT_OK(source_file_locator.filesystem->CopyFile(source_file_locator.path,
Expand Down
1 change: 0 additions & 1 deletion cpp/src/arrow/util/thread_pool_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <cstdio>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <memory>
#include <mutex>
#include <string>
Expand Down

0 comments on commit 3962894

Please sign in to comment.