Remove another volatile return type to avoid warning

This commit is contained in:
Stan Gerald Moore
2022-01-31 09:58:44 -07:00
parent 5d28d06a3c
commit cfd720e1fc

View File

@ -45,11 +45,10 @@ namespace LAMMPS_NS {
}
KOKKOS_INLINE_FUNCTION
volatile s_FSUM& operator+=(const volatile s_FSUM &rhs) volatile {
void operator+=(const volatile s_FSUM &rhs) volatile {
fx += rhs.fx;
fy += rhs.fy;
fz += rhs.fz;
return *this;
}
};
typedef s_FSUM FSUM;