Skip to content

Commit 04b9905

Browse files
author
Rafał Hibner
committed
Fix do_handle
1 parent 49473df commit 04b9905

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/src/arrow/util/async_generator.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -944,13 +944,13 @@ class PushGenerator {
944944

945945
bool Push(Result<T> result) override {
946946
auto lock = State::mutex.Lock();
947-
DoHandle(*this);
947+
DoHandle do_handle(*this);
948948
return State::PushUnlocked(std::move(result), std::move(lock));
949949
}
950950

951951
Future<T> Pop() override {
952952
auto lock = State::mutex.Lock();
953-
DoHandle(*this);
953+
DoHandle do_handle(*this);
954954
return State::PopUnlocked();
955955
}
956956

0 commit comments

Comments
 (0)