From: Daniel Arndt Date: Tue, 11 Jul 2023 14:50:07 +0000 (-0400) Subject: Use an explicit type in base/utilities.h X-Git-Tag: relicensing~690^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a978cb9a3475e23a7109c7bcf4f6e3be32d603dd;p=dealii.git Use an explicit type in base/utilities.h --- diff --git a/include/deal.II/base/utilities.h b/include/deal.II/base/utilities.h index 1b12d95c2e..879fa0276e 100644 --- a/include/deal.II/base/utilities.h +++ b/include/deal.II/base/utilities.h @@ -1286,9 +1286,9 @@ namespace Utilities object.clear(); if (vector_size > 0) { - const auto *const buffer_data_begin = + const T *const buffer_data_begin = reinterpret_cast(&*cbegin + sizeof(vector_size)); - const auto *const buffer_data_end = buffer_data_begin + vector_size; + const T *const buffer_data_end = buffer_data_begin + vector_size; object.insert(object.end(), buffer_data_begin, buffer_data_end); } }