collecttoiorank: use constexpr

This commit is contained in:
Arne Morten Kvarving 2022-08-10 12:30:54 +02:00
parent 7b74c75f7c
commit d0c528a240

View File

@ -52,7 +52,7 @@ public:
using IndexMapType = std::vector<int>;
using IndexMapStorageType = std::vector<IndexMapType>;
static const int dimension = Grid::dimension;
static constexpr int dimension = Grid::dimension;
enum { ioRank = 0 };