diff --git a/core/src/View/MDSpan/Kokkos_MDSpan_Accessor.hpp b/core/src/View/MDSpan/Kokkos_MDSpan_Accessor.hpp index d3919e4184a..8814cc015ef 100644 --- a/core/src/View/MDSpan/Kokkos_MDSpan_Accessor.hpp +++ b/core/src/View/MDSpan/Kokkos_MDSpan_Accessor.hpp @@ -183,17 +183,6 @@ struct AtomicAccessorRelaxed { KOKKOS_DEFAULTED_FUNCTION AtomicAccessorRelaxed() = default; - // TODO: Kokkos allows atomic views of const element types right now, - // but for the future we might to deprecated it and do this: -#if 0 - KOKKOS_FUNCTION - AtomicAccessorRelaxed(const default_accessor&) {} - - static_assert( - std::is_same_v, element_type>, - "AtomicAccessorRelaxed can only be used for non-const element types"); -#endif - // Conversions from non-const to const element type template