From: Wolfgang Bangerth Date: Sun, 15 Aug 2021 23:37:08 +0000 (-0600) Subject: Use 'auto' in one place. X-Git-Tag: v9.4.0-rc1~1076^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0250f71184f6f143cf4fd61878052f72589ee237;p=dealii.git Use 'auto' in one place. --- diff --git a/include/deal.II/sundials/n_vector.templates.h b/include/deal.II/sundials/n_vector.templates.h index 42161e5b4b..e6cb1a15ee 100644 --- a/include/deal.II/sundials/n_vector.templates.h +++ b/include/deal.II/sundials/n_vector.templates.h @@ -363,8 +363,7 @@ SUNDIALS::internal::unwrap_nvector(N_Vector v) { Assert(v != nullptr, ExcInternalError()); Assert(v->content != nullptr, ExcInternalError()); - NVectorContent *pContent = - reinterpret_cast *>(v->content); + auto *pContent = reinterpret_cast *>(v->content); return pContent->get(); } @@ -376,7 +375,7 @@ SUNDIALS::internal::unwrap_nvector_const(N_Vector v) { Assert(v != nullptr, ExcInternalError()); Assert(v->content != nullptr, ExcInternalError()); - const NVectorContent *pContent = + const auto *pContent = reinterpret_cast *>(v->content); return pContent->get(); }