Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroshade committed Oct 22, 2024
1 parent d75ef0a commit a5de6c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/c/bridge.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2570,8 +2570,8 @@ class AsyncRecordBatchIterator {
state_->producer_->request(state_->producer_, 1);
ArrowDeviceArray out;
if (task.first.extract_data(&task.first, &out) != 0) {
std::unique_lock<std::mutex> lock(state_->mutex_);
state_->cv_.wait(lock, [&] { return !state_->error_.ok(); });
std::unique_lock<std::mutex> lock(state_->mutex_);
state_->cv_.wait(lock, [&] { return !state_->error_.ok(); });
return state_->error_;
}

Expand Down

0 comments on commit a5de6c6

Please sign in to comment.