From 6691a33c08ba4bd1f7bfbb08a33dccffbffe2ed5 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 3 Aug 2022 08:26:43 +0200 Subject: [PATCH] NullThermalConductionLaw: some modernization - typedef -> using --- opm/material/thermal/NullThermalConductionLaw.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/opm/material/thermal/NullThermalConductionLaw.hpp b/opm/material/thermal/NullThermalConductionLaw.hpp index 7fb242ebf..add8a4366 100644 --- a/opm/material/thermal/NullThermalConductionLaw.hpp +++ b/opm/material/thermal/NullThermalConductionLaw.hpp @@ -41,8 +41,8 @@ template class NullThermalConductionLaw { public: - typedef int Params; - typedef ScalarT Scalar; + using Params = int; + using Scalar = ScalarT; /*! * \brief Given a fluid state, return the effective thermal conductivity [W/m^2 / (K/m)] of the porous @@ -55,6 +55,7 @@ public: const FluidState&) { return 0.0; } }; + } // namespace Opm #endif