From 6f8cba7e55400a0a6d53ad653cacf8f566ac086c Mon Sep 17 00:00:00 2001 From: Sarah Gilmore Date: Thu, 21 Sep 2023 16:28:01 -0400 Subject: [PATCH] Fix format errors --- cpp/src/arrow/array/array_nested.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cpp/src/arrow/array/array_nested.cc b/cpp/src/arrow/array/array_nested.cc index 5e22cae480a48..d8308c824953a 100644 --- a/cpp/src/arrow/array/array_nested.cc +++ b/cpp/src/arrow/array/array_nested.cc @@ -636,11 +636,11 @@ Status StructArray::CanReferenceFieldByName(const std::string& name) const { } Status StructArray::CanReferenceFieldsByNames( - const std::vector& names) const { - for (const auto& name: names) { - ARROW_RETURN_NOT_OK(CanReferenceFieldByName(name)); - } - return Status::OK(); + const std::vector& names) const { + for (const auto& name : names) { + ARROW_RETURN_NOT_OK(CanReferenceFieldByName(name)); + } + return Status::OK(); } Result StructArray::Flatten(MemoryPool* pool) const {