From 072bc9114b71862bdccf50de5e0ba9e729acfd70 Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Fri, 9 Sep 2022 13:57:16 -0600 Subject: [PATCH] utils: implicit copy-assign deprecated in array_sum_reduce (#1494) --- src/common/KokkosKernels_Utils.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/common/KokkosKernels_Utils.hpp b/src/common/KokkosKernels_Utils.hpp index eae4080879..4db72c40fa 100644 --- a/src/common/KokkosKernels_Utils.hpp +++ b/src/common/KokkosKernels_Utils.hpp @@ -1454,10 +1454,7 @@ struct array_sum_reduce { array_sum_reduce() { for (int i = 0; i < N; i++) data[i] = scalar_t(); } - KOKKOS_INLINE_FUNCTION - array_sum_reduce(const ValueType &rhs) { - for (int i = 0; i < N; i++) data[i] = rhs.data[i]; - } + KOKKOS_INLINE_FUNCTION // add operator array_sum_reduce & operator+=(const ValueType &src) {