File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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)
@@ -944,13 +944,13 @@ class PushGenerator {
944944
945945 bool Push (Result<T> result) override {
946946 auto lock = State::mutex.Lock ();
947- DoHandle (*this );
948- return PushUnlocked (std::move (result), std::move (lock));
947+ DoHandle do_handle (*this );
948+ 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
You can’t perform that action at this time.
0 commit comments