From 10e3e5c998ad507ecb66cbaef1aace911601acae Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Thu, 12 Mar 2020 15:45:44 +0100 Subject: [PATCH] remove accessors added to ThresholdPressure for external serialization --- .../EclipseState/SimulationConfig/ThresholdPressure.hpp | 6 ------ .../EclipseState/SimulationConfig/ThresholdPressure.cpp | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) 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; }