From c11a9df80301b91494b9d6e46d1a7227579fabf2 Mon Sep 17 00:00:00 2001 From: "Dmitry Yu. Naumov" <github@naumov.de> Date: Fri, 9 Nov 2018 18:56:46 +0100 Subject: [PATCH] [MatL] Constify LinearEl::getMaterialProperties(). --- MaterialLib/SolidModels/LinearElasticIsotropic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MaterialLib/SolidModels/LinearElasticIsotropic.h b/MaterialLib/SolidModels/LinearElasticIsotropic.h index 2bd88582428..5e9271dc019 100644 --- a/MaterialLib/SolidModels/LinearElasticIsotropic.h +++ b/MaterialLib/SolidModels/LinearElasticIsotropic.h @@ -124,8 +124,8 @@ public: ProcessLib::SpatialPosition const& x, double const T) const; + MaterialProperties getMaterialProperties() const { return _mp; } - MaterialProperties getMaterialProperties() { return _mp; } protected: MaterialProperties _mp; }; -- GitLab