EclProblem: fix the type returned by the const version of materialLawManager()

it is supposed to a shared pointer to a constant object, not a
constant pointer to a mutable object...
This commit is contained in:
Andreas Lauser 2016-12-10 10:53:28 +01:00
parent 4b2156a071
commit e1d11da6d6

View File

@ -717,7 +717,7 @@ public:
* Note that this method is *not* part of the generic eWoms problem API because it
* would force all problens use the ECL material laws.
*/
const std::shared_ptr<EclMaterialLawManager> materialLawManager() const
std::shared_ptr<const EclMaterialLawManager> materialLawManager() const
{ return materialLawManager_; }
/*!