From ef7cbb00952207479a4a09bebc929285df21d7f8 Mon Sep 17 00:00:00 2001 From: Conor Hoekstra <36027403+codereport@users.noreply.github.com> Date: Fri, 5 Feb 2021 07:52:41 -0500 Subject: [PATCH] Update column_view.cpp --- cpp/src/column/column_view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/column/column_view.cpp b/cpp/src/column/column_view.cpp index 019127643e3..3e784401be2 100644 --- a/cpp/src/column/column_view.cpp +++ b/cpp/src/column/column_view.cpp @@ -127,7 +127,7 @@ mutable_column_view::operator column_view() const size_type count_descendants(column_view parent) { - auto descendants = [&](auto const& child) { return count_descendants(child); }; + auto descendants = [](auto const& child) { return count_descendants(child); }; auto begin = thrust::make_transform_iterator(parent.child_begin(), descendants); return std::accumulate(begin, begin + parent.num_children(), size_type{parent.num_children()}); }