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=1d16784123d8ba864dcddefe56fb5ab41ffc1876;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) {} /**