diff --git a/cpp/src/arrow/c/bridge.cc b/cpp/src/arrow/c/bridge.cc index 469718dd50ccb..6b8465b07f2f1 100644 --- a/cpp/src/arrow/c/bridge.cc +++ b/cpp/src/arrow/c/bridge.cc @@ -2540,7 +2540,7 @@ class AsyncRecordBatchIterator { AsyncRecordBatchIterator(uint64_t queue_size, const DeviceMemoryMapper mapper) : state_{std::make_shared(queue_size, std::move(mapper))} {} - AsyncRecordBatchIterator(std::shared_ptr state) : state_{std::move(state)} {} + explicit AsyncRecordBatchIterator(std::shared_ptr state) : state_{std::move(state)} {} const std::shared_ptr& schema() const { return state_->schema_; }