mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 23:20:12 -05:00
EclActionHandler: mark method const
This commit is contained in:
1 parent
7da3c96247
commit
368eac1078
2 files changed
+2
-2
No files matched your search
@@ -207,7 +207,7 @@ void EclActionHandler::applySimulatorUpdate(const int report_step,
|
||||
std::unordered_map<std::string, double>
|
||||
EclActionHandler::fetchWellPI(const int reportStep,
|
||||
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(),
|
||||
|
||||
@@ -82,7 +82,7 @@ public:
|
||||
std::unordered_map<std::string, double>
|
||||
fetchWellPI(int reportStep,
|
||||
const Action::ActionX& action,
|
||||
const std::vector<std::string>& matching_wells);
|
||||
const std::vector<std::string>& matching_wells) const;
|
||||
|
||||
EclipseState& ecl_state_;
|
||||
Schedule& schedule_;
|
||||
|
||||
Reference in new issue
Block a user