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=refs%2Fpull%2F15705%2Fhead;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); } }