diff --git a/opm/models/richards/richardsindices.hh b/opm/models/richards/richardsindices.hh index d82ca37b5c..86a0f920ec 100644 --- a/opm/models/richards/richardsindices.hh +++ b/opm/models/richards/richardsindices.hh @@ -38,13 +38,13 @@ namespace Opm { struct RichardsIndices { //! Primary variable index for the wetting phase pressure - static const int pressureWIdx = 0; + static constexpr int pressureWIdx = 0; //! Equation index for the mass conservation of the wetting phase - static const int contiEqIdx = 0; + static constexpr int contiEqIdx = 0; //! The number of equations - static const int numEq = 1; + static constexpr int numEq = 1; }; } // namespace Opm