From 4d197eae7e2a68b8da86e8561b54629e18a3b8e3 Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Mon, 9 May 2022 20:18:36 -0700 Subject: [PATCH] fix code style --- .../cudf/table/experimental/row_operators.cuh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cpp/include/cudf/table/experimental/row_operators.cuh b/cpp/include/cudf/table/experimental/row_operators.cuh index 76daa6dbca4..98d08c28d31 100644 --- a/cpp/include/cudf/table/experimental/row_operators.cuh +++ b/cpp/include/cudf/table/experimental/row_operators.cuh @@ -285,12 +285,13 @@ class device_row_comparator { * @tparam values weak_ordering parameter pack of orderings to interpret as true */ template -struct weak_ordering_comparator_impl{ - __device__ bool operator()(size_type const& lhs, size_type const& rhs){ - weak_ordering const result = comparator(lhs, rhs); - return ( (result == values) || ...); - } - Comparator comparator; +struct weak_ordering_comparator_impl { + __device__ bool operator()(size_type const& lhs, size_type const& rhs) + { + weak_ordering const result = comparator(lhs, rhs); + return ((result == values) || ...); + } + Comparator comparator; }; /**