From 4cfe122ac692f0fb25cc543cea2f074916b76b86 Mon Sep 17 00:00:00 2001 From: Dan Ibanez Date: Tue, 3 Jan 2017 09:04:10 -0700 Subject: [PATCH] fix warning about enum comparisons --- src/KOKKOS/pair_table_kokkos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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