From: Martin Kronbichler Date: Sun, 6 Nov 2022 10:18:08 +0000 (+0100) Subject: Fix a warning regarding unused variable X-Git-Tag: v9.5.0-rc1~872^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14395%2Fhead;p=dealii.git Fix a warning regarding unused variable --- diff --git a/include/deal.II/lac/trilinos_solver.h b/include/deal.II/lac/trilinos_solver.h index 578dd39660..9531551644 100644 --- a/include/deal.II/lac/trilinos_solver.h +++ b/include/deal.II/lac/trilinos_solver.h @@ -766,9 +766,10 @@ namespace TrilinosWrappers /** * Constructor. */ - AdditionalData(const SolverName &solver_name = SolverName::cg, - const bool right_preconditioning = false) - : right_preconditioning(right_preconditioning) + AdditionalData(const SolverName solver_name = SolverName::cg, + const bool right_preconditioning = false) + : solver_name(solver_name) + , right_preconditioning(right_preconditioning) {} /**