mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
constexpr on const ints
This commit is contained in:
parent
4450b1993a
commit
cfeda9d536
@ -62,7 +62,7 @@ public:
|
|||||||
// S-direction is INNERMOST and takes no part in the parity.
|
// S-direction is INNERMOST and takes no part in the parity.
|
||||||
static const std::vector<int> directions;
|
static const std::vector<int> directions;
|
||||||
static const std::vector<int> displacements;
|
static const std::vector<int> displacements;
|
||||||
const int npoint = 8;
|
static constexpr int npoint = 8;
|
||||||
};
|
};
|
||||||
|
|
||||||
template<class Impl>
|
template<class Impl>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user