diff --git a/src/KOKKOS/pair_table_kokkos.h b/src/KOKKOS/pair_table_kokkos.h index 4d3a9ec106..e768c97164 100644 --- a/src/KOKKOS/pair_table_kokkos.h +++ b/src/KOKKOS/pair_table_kokkos.h @@ -31,7 +31,7 @@ namespace LAMMPS_NS { template struct S_TableCompute { - enum {TabStyle = TABSTYLE}; + static constexpr int TabStyle = TABSTYLE; }; template