From 3b44ee137bf86d1474d0f1064b3e14c638a018ff Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 8 Jan 2020 09:30:18 +0100 Subject: [PATCH] changed: make data members in EclipseState protected to allow subclass access --- opm/parser/eclipse/EclipseState/EclipseState.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/opm/parser/eclipse/EclipseState/EclipseState.hpp b/opm/parser/eclipse/EclipseState/EclipseState.hpp index abd74fc75..6ce5f8757 100644 --- a/opm/parser/eclipse/EclipseState/EclipseState.hpp +++ b/opm/parser/eclipse/EclipseState/EclipseState.hpp @@ -117,7 +117,8 @@ namespace Opm { void complainAboutAmbiguousKeyword(const Deck& deck, const std::string& keywordName); - const TableManager m_tables; + protected: + TableManager m_tables; Runspec m_runspec; EclipseConfig m_eclipseConfig; UnitSystem m_deckUnitSystem; @@ -125,7 +126,7 @@ namespace Opm { EDITNNC m_inputEditNnc; EclipseGrid m_inputGrid; FieldPropsManager field_props; - const SimulationConfig m_simulationConfig; + SimulationConfig m_simulationConfig; TransMult m_transMult; FaultCollection m_faults;