forked from lijiext/lammps
fix warning about enum comparisons
This commit is contained in:
parent
b46629ee39
commit
4cfe122ac6
|
@ -31,7 +31,7 @@ namespace LAMMPS_NS {
|
|||
|
||||
template<class Device,int TABSTYLE>
|
||||
struct S_TableCompute {
|
||||
enum {TabStyle = TABSTYLE};
|
||||
static constexpr int TabStyle = TABSTYLE;
|
||||
};
|
||||
|
||||
template <class DeviceType, int NEIGHFLAG, int TABSTYLE>
|
||||
|
|
Loading…
Reference in New Issue