diff --git a/opm/parser/eclipse/EclipseState/Schedule/Group/GuideRateConfig.hpp b/opm/parser/eclipse/EclipseState/Schedule/Group/GuideRateConfig.hpp index c30b46c80..0ebd0b846 100644 --- a/opm/parser/eclipse/EclipseState/Schedule/Group/GuideRateConfig.hpp +++ b/opm/parser/eclipse/EclipseState/Schedule/Group/GuideRateConfig.hpp @@ -86,10 +86,6 @@ struct GroupTarget { bool has_well(const std::string& well) const; bool has_group(const std::string& group) const; - std::shared_ptr getModel() const; - const std::unordered_map& getWells() const; - const std::unordered_map& getGroups() const; - bool operator==(const GuideRateConfig& data) const; template diff --git a/src/opm/parser/eclipse/EclipseState/Schedule/Group/GuideRateConfig.cpp b/src/opm/parser/eclipse/EclipseState/Schedule/Group/GuideRateConfig.cpp index abf6cbe17..b297a73ed 100644 --- a/src/opm/parser/eclipse/EclipseState/Schedule/Group/GuideRateConfig.cpp +++ b/src/opm/parser/eclipse/EclipseState/Schedule/Group/GuideRateConfig.cpp @@ -97,27 +97,15 @@ bool GuideRateConfig::has_group(const std::string& group) const { return (this->groups.count(group) > 0); } -std::shared_ptr GuideRateConfig::getModel() const { - return m_model; -} - -const std::unordered_map& GuideRateConfig::getWells() const { - return wells; -} - -const std::unordered_map& GuideRateConfig::getGroups() const { - return groups; -} - bool GuideRateConfig::operator==(const GuideRateConfig& data) const { - if ((m_model && !data.m_model) || (!m_model && data.m_model)) + if ((this->m_model && !data.m_model) || (!this->m_model && data.m_model)) return false; - if (m_model && !(*m_model == *data.m_model)) + if (this->m_model && !(*this->m_model == *data.m_model)) return false; - return getWells() == data.getWells() && - getGroups() == data.getGroups(); + return this->wells == data.wells && + this->groups == data.groups; } }