diff --git a/src/KOKKOS/npair_ssa_kokkos.h b/src/KOKKOS/npair_ssa_kokkos.h index 68cfd587d9..73e6d0c534 100644 --- a/src/KOKKOS/npair_ssa_kokkos.h +++ b/src/KOKKOS/npair_ssa_kokkos.h @@ -289,7 +289,6 @@ class NPairSSAKokkosExecute h_new_maxneighs() = neigh_list.maxneighs; }; - KOKKOS_INLINE_FUNCTION ~NPairSSAKokkosExecute() {neigh_list.copymode = 1;}; KOKKOS_FUNCTION