From 59015ba0cfb2fcabc75ff257ad09677848c48ef4 Mon Sep 17 00:00:00 2001 From: sperlingxx Date: Fri, 6 Aug 2021 10:08:54 +0800 Subject: [PATCH] fix --- cpp/src/structs/copying/concatenate.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/src/structs/copying/concatenate.cu b/cpp/src/structs/copying/concatenate.cu index 1483703a1d1..fe5483b119d 100644 --- a/cpp/src/structs/copying/concatenate.cu +++ b/cpp/src/structs/copying/concatenate.cu @@ -55,10 +55,10 @@ std::unique_ptr concatenate(host_span columns, }); // get total length from concatenated children; if no child exists, we would compute it - auto const accSizeFn = [](size_type s, column_view const& c) { return s + c.size(); }; + auto const acc_size_fn = [](size_type s, column_view const& c) { return s + c.size(); }; auto const total_length = !children.empty() ? children[0]->size() - : std::accumulate(columns.begin(), columns.end(), size_type{0}, accSizeFn); + : std::accumulate(columns.begin(), columns.end(), size_type{0}, acc_size_fn); // if any of the input columns have nulls, construct the output mask bool const has_nulls =