From f7cf7d83fc35a1509f646dbd2bfa97b0219fb4cb Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 19 Jan 2026 14:31:55 +0100 Subject: [PATCH] remove unused lambda captures --- opm/simulators/wells/MultisegmentWell_impl.hpp | 2 +- opm/simulators/wells/StandardWell_impl.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/simulators/wells/MultisegmentWell_impl.hpp b/opm/simulators/wells/MultisegmentWell_impl.hpp index 2c1f7ef032..6d77d180b1 100644 --- a/opm/simulators/wells/MultisegmentWell_impl.hpp +++ b/opm/simulators/wells/MultisegmentWell_impl.hpp @@ -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 diff --git a/opm/simulators/wells/StandardWell_impl.hpp b/opm/simulators/wells/StandardWell_impl.hpp index 88af3f951b..ebb5314ad5 100644 --- a/opm/simulators/wells/StandardWell_impl.hpp +++ b/opm/simulators/wells/StandardWell_impl.hpp @@ -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