From 8b02c516966b1e01ec25c1dd2b1fc72b610dba2a Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Fri, 12 Jul 2024 14:50:25 +0900 Subject: [PATCH] Add a missing & --- cpp/src/arrow/array/util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/array/util.cc b/cpp/src/arrow/array/util.cc index ddcfde76d5d32..662910f7ea433 100644 --- a/cpp/src/arrow/array/util.cc +++ b/cpp/src/arrow/array/util.cc @@ -337,7 +337,7 @@ Result> SwapEndianArrayData( } // namespace internal std::shared_ptr MakeArray(const std::shared_ptr& data, - const std::shared_ptr statistics) { + const std::shared_ptr& statistics) { std::shared_ptr out; ArrayDataWrapper wrapper_visitor(data, statistics, &out); DCHECK_OK(VisitTypeInline(*data->type, &wrapper_visitor));