EclActionHandler: mark method const

This commit is contained in:
Arne Morten Kvarving
2023-08-15 12:11:33 +02:00
parent 7da3c96247
commit 368eac1078
2 changed files with 2 additions and 2 deletions

View File

@@ -207,7 +207,7 @@ void EclActionHandler::applySimulatorUpdate(const int report_step,
std::unordered_map<std::string, double> std::unordered_map<std::string, double>
EclActionHandler::fetchWellPI(const int reportStep, EclActionHandler::fetchWellPI(const int reportStep,
const Action::ActionX& action, const Action::ActionX& action,
const std::vector<std::string>& matching_wells) const std::vector<std::string>& matching_wells) const
{ {
auto wellpi_wells = action.wellpi_wells(WellMatcher(schedule_[reportStep].well_order(), auto wellpi_wells = action.wellpi_wells(WellMatcher(schedule_[reportStep].well_order(),

View File

@@ -82,7 +82,7 @@ public:
std::unordered_map<std::string, double> std::unordered_map<std::string, double>
fetchWellPI(int reportStep, fetchWellPI(int reportStep,
const Action::ActionX& action, const Action::ActionX& action,
const std::vector<std::string>& matching_wells); const std::vector<std::string>& matching_wells) const;
EclipseState& ecl_state_; EclipseState& ecl_state_;
Schedule& schedule_; Schedule& schedule_;