remove unused lambda captures

This commit is contained in:
Arne Morten Kvarving committed 2026-01-19 14:31:55 +01:00
1 parent e2c0f9d473
commit f7cf7d83fc
2 files changed
+2 -2

No files matched your search

@@ -2217,7 +2217,7 @@ namespace Opm
if (bhpAtLimit)
return bhpAtLimit;
auto fratesIter = [this, &simulator, &groupStateHelper, &deferred_logger](const Scalar bhp) {
auto fratesIter = [this, &simulator, &groupStateHelper](const Scalar bhp) {
// Solver the well iterations to see if we are
// able to get a solution with an update
// solution
+1 -1
View File
@@ -2312,7 +2312,7 @@ namespace Opm
if (!iterate_if_no_solution)
return std::nullopt;
auto fratesIter = [this, &simulator, &groupStateHelper, &deferred_logger](const Scalar bhp) {
auto fratesIter = [this, &simulator, &groupStateHelper](const Scalar bhp) {
// Solver the well iterations to see if we are
// able to get a solution with an update
// solution