diff --git a/opm/core/wells/DynamicListEconLimited.hpp b/opm/core/wells/DynamicListEconLimited.hpp index cd8a2673..22bf2355 100644 --- a/opm/core/wells/DynamicListEconLimited.hpp +++ b/opm/core/wells/DynamicListEconLimited.hpp @@ -33,20 +33,23 @@ namespace Opm { public: + DynamicListEconLimited() { + } + bool wellShutEconLimited(const std::string& well_name) const { return std::find(m_shut_wells.begin(), m_shut_wells.end(), well_name) != m_shut_wells.end(); - }; + } void addShutWell(const std::string& well_name) { assert( !wellShutEconLimited(well_name) ); assert( !wellStoppedEconLimited(well_name) ); m_shut_wells.push_back(well_name); - }; + } bool wellStoppedEconLimited(const std::string& well_name) const { return std::find(m_stopped_wells.begin(), m_stopped_wells.end(), well_name) != m_stopped_wells.end(); - }; + } void addStoppedWell(const std::string& well_name) { assert( !wellShutEconLimited(well_name) );