From a5de6c6da3f6491522a8abb3a3260601180315bd Mon Sep 17 00:00:00 2001 From: Matt Topol Date: Mon, 21 Oct 2024 22:51:01 -0400 Subject: [PATCH] linting --- cpp/src/arrow/c/bridge.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/src/arrow/c/bridge.cc b/cpp/src/arrow/c/bridge.cc index b293d914b0fea..8eaef0225d243 100644 --- a/cpp/src/arrow/c/bridge.cc +++ b/cpp/src/arrow/c/bridge.cc @@ -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 lock(state_->mutex_); - state_->cv_.wait(lock, [&] { return !state_->error_.ok(); }); + std::unique_lock lock(state_->mutex_); + state_->cv_.wait(lock, [&] { return !state_->error_.ok(); }); return state_->error_; }