Skip to content

Commit 0e54c34

Browse files
committed
fix
1 parent daf7696 commit 0e54c34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/paimon/common/executor/future.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ std::vector<T> CollectAll(std::vector<std::future<T>>& futures) {
9999
std::vector<T> results;
100100
results.reserve(futures.size()); // Reserve space to avoid reallocation.
101101
for (auto& future : futures) {
102-
results.push_back(future.get());
102+
results.push_back(future.get()); // Wait for each future and collect the result.
103103
}
104104

105105
return results;

0 commit comments

Comments
 (0)