mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
4b2156a071
commit
e1d11da6d6
@ -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_; }
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user