From efd68358b130935bd024704651b174c340d77cad Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Thu, 11 Aug 2022 16:56:11 -0600 Subject: [PATCH] utils: implicit copy-assign deprecated in array_sum_reduce --- src/common/KokkosKernels_Utils.hpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/common/KokkosKernels_Utils.hpp b/src/common/KokkosKernels_Utils.hpp index eae4080879..b44727f0d9 100644 --- a/src/common/KokkosKernels_Utils.hpp +++ b/src/common/KokkosKernels_Utils.hpp @@ -1454,16 +1454,6 @@ 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) { - for (int i = 0; i < N; i++) data[i] += src.data[i]; - return *this; - } }; template