Skip to content

Commit

Permalink
Fix format errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed Sep 21, 2023
1 parent 95fa14b commit 6f8cba7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cpp/src/arrow/array/array_nested.cc
Original file line number Diff line number Diff line change
Expand Up @@ -636,11 +636,11 @@ Status StructArray::CanReferenceFieldByName(const std::string& name) const {
}

Status StructArray::CanReferenceFieldsByNames(
const std::vector<std::string>& names) const {
for (const auto& name: names) {
ARROW_RETURN_NOT_OK(CanReferenceFieldByName(name));
}
return Status::OK();
const std::vector<std::string>& names) const {
for (const auto& name : names) {
ARROW_RETURN_NOT_OK(CanReferenceFieldByName(name));
}
return Status::OK();
}

Result<ArrayVector> StructArray::Flatten(MemoryPool* pool) const {
Expand Down

0 comments on commit 6f8cba7

Please sign in to comment.