fix warning about enum comparisons

This commit is contained in:
Dan Ibanez 2017-01-03 09:04:10 -07:00 committed by Stan Moore
parent b46629ee39
commit 4cfe122ac6
1 changed files with 1 additions and 1 deletions

View File

@ -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>