mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-22 15:33:29 -06:00
Remove unneded capture of 'this'.
This commit is contained in:
parent
032b296836
commit
939f944b86
@ -358,12 +358,11 @@ public:
|
||||
wmatcher,
|
||||
this->wellModel_().wellOpenTimes(),
|
||||
this->wellModel_().wellCloseTimes(),
|
||||
[this, reportStep, schedule, timeStep](const std::string& name)
|
||||
[timeStep, &wg_events = schedule[reportStep].wellgroup_events()](const std::string& name)
|
||||
{
|
||||
if (timeStep != 0) {
|
||||
return false;
|
||||
}
|
||||
const auto& wg_events = schedule[reportStep].wellgroup_events();
|
||||
return wg_events.hasEvent(name, ScheduleEvents::REQUEST_OPEN_WELL);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user