diff --git a/core/src/View/Kokkos_ViewAlloc.hpp b/core/src/View/Kokkos_ViewAlloc.hpp index 1de9ab79110..71bd5cffeb9 100644 --- a/core/src/View/Kokkos_ViewAlloc.hpp +++ b/core/src/View/Kokkos_ViewAlloc.hpp @@ -80,8 +80,8 @@ struct ViewValueFunctor { (ptr + i)->~ValueType(); } - ViewValueFunctor() = default; - ViewValueFunctor(const ViewValueFunctor&) = default; + ViewValueFunctor() = default; + ViewValueFunctor(const ViewValueFunctor&) = default; ViewValueFunctor& operator=(const ViewValueFunctor&) = default; ViewValueFunctor(ExecSpace const& arg_space, ValueType* const arg_ptr,