Skip to content

Commit 49473df

Browse files
author
Rafał Hibner
committed
Fix visibility
1 parent 518c6f6 commit 49473df

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
@@ -925,7 +925,7 @@ class PushGenerator {
925925

926926
struct StateWithBackpressure : public State {
927927
explicit StateWithBackpressure(acero::BackpressureHandler handler)
928-
: handler_(handler) {}
928+
: handler_(std::move(handler)) {}
929929

930930
struct DoHandle {
931931
explicit DoHandle(StateWithBackpressure& state)
@@ -945,7 +945,7 @@ class PushGenerator {
945945
bool Push(Result<T> result) override {
946946
auto lock = State::mutex.Lock();
947947
DoHandle(*this);
948-
return PushUnlocked(std::move(result), std::move(lock));
948+
return State::PushUnlocked(std::move(result), std::move(lock));
949949
}
950950

951951
Future<T> Pop() override {

0 commit comments

Comments
 (0)