diff --git a/opm/parser/eclipse/EclipseState/SimulationConfig/ThresholdPressure.hpp b/opm/parser/eclipse/EclipseState/SimulationConfig/ThresholdPressure.hpp index 9c1f3d37e..24d993cdd 100644 --- a/opm/parser/eclipse/EclipseState/SimulationConfig/ThresholdPressure.hpp +++ b/opm/parser/eclipse/EclipseState/SimulationConfig/ThresholdPressure.hpp @@ -74,12 +74,6 @@ namespace Opm { bool active() const; bool restart() const; - const ThresholdPressureTable& thresholdPressureTable() const - { return m_thresholdPressureTable; } - - const PressureTable& pressureTable() const - { return m_pressureTable; } - bool operator==(const ThresholdPressure& data) const; template diff --git a/src/opm/parser/eclipse/EclipseState/SimulationConfig/ThresholdPressure.cpp b/src/opm/parser/eclipse/EclipseState/SimulationConfig/ThresholdPressure.cpp index 4ded494d5..0238ef77b 100644 --- a/src/opm/parser/eclipse/EclipseState/SimulationConfig/ThresholdPressure.cpp +++ b/src/opm/parser/eclipse/EclipseState/SimulationConfig/ThresholdPressure.cpp @@ -218,8 +218,8 @@ namespace Opm { bool ThresholdPressure::operator==(const ThresholdPressure& data) const { return this->active() == data.active() && this->restart() == data.restart() && - this->thresholdPressureTable() == data.thresholdPressureTable() && - this->pressureTable() == data.pressureTable(); + this->m_thresholdPressureTable == data.m_thresholdPressureTable && + this->m_pressureTable == data.m_pressureTable; }