From 9c0836dc6b50e87f40d85b70c7dd1e74a3a63637 Mon Sep 17 00:00:00 2001 From: "Maarten A. Breddels" Date: Fri, 12 Mar 2021 12:48:43 +0100 Subject: [PATCH] fix rebase issue --- cpp/src/arrow/compute/kernels/test_util.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/src/arrow/compute/kernels/test_util.cc b/cpp/src/arrow/compute/kernels/test_util.cc index 567ca7fc332d2..da6fd543c42db 100644 --- a/cpp/src/arrow/compute/kernels/test_util.cc +++ b/cpp/src/arrow/compute/kernels/test_util.cc @@ -118,8 +118,8 @@ void CheckScalar(std::string func_name, const DatumVector& inputs, } // Check all the input scalars, if scalars are implemented - if (std::none_of(inputs.begin(), inputs.end(), [](const std::shared_ptr& array) { - return array->type_id() == Type::EXTENSION; + if (std::none_of(inputs.begin(), inputs.end(), [](const Datum& datum) { + return datum.type()->id() == Type::EXTENSION; })) { // Check all the input scalars for (int64_t i = 0; i < array->length(); ++i) {