From: David Wells Date: Thu, 16 Mar 2017 22:22:27 +0000 (-0400) Subject: Catch an exception by reference. X-Git-Tag: v8.5.0-rc1~25^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c33ab65487251ccd292da694114a44a66c3401a4;p=dealii.git Catch an exception by reference. --- diff --git a/examples/step-32/step-32.cc b/examples/step-32/step-32.cc index 0dae988798..3a1be1a014 100644 --- a/examples/step-32/step-32.cc +++ b/examples/step-32/step-32.cc @@ -3010,7 +3010,7 @@ namespace Step32 n_iterations = solver_control.last_step(); } - catch (SolverControl::NoConvergence) + catch (SolverControl::NoConvergence &) { const LinearSolvers::BlockSchurPreconditioner