diff --git a/dumux/multidomain/couplingmanager.hh b/dumux/multidomain/couplingmanager.hh index 882406901af9fae736645127c1ed7f6776f71143..92ebd7cd88f0befe5f3bea752c34f66f2bb79bbc 100644 --- a/dumux/multidomain/couplingmanager.hh +++ b/dumux/multidomain/couplingmanager.hh @@ -308,7 +308,7 @@ protected: * \note The caller has to make sure that curSol stays alive for the lifetime of * the coupling manager. Otherwise we have a dangling reference here. Use with care. */ - void attachSolution(SolutionVectorStorage& curSol) + void attachSolution(const SolutionVectorStorage& curSol) { using namespace Dune::Hybrid; forEach(integralRange(Dune::Hybrid::size(curSols_)), [&](const auto id)