diff --git a/ebos/collecttoiorank.hh b/ebos/collecttoiorank.hh index 34c497b73..e98ac852e 100644 --- a/ebos/collecttoiorank.hh +++ b/ebos/collecttoiorank.hh @@ -52,7 +52,7 @@ public: using IndexMapType = std::vector; using IndexMapStorageType = std::vector; - static const int dimension = Grid::dimension; + static constexpr int dimension = Grid::dimension; enum { ioRank = 0 };