]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use an explicit type in base/utilities.h 15705/head
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 11 Jul 2023 14:50:07 +0000 (10:50 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 11 Jul 2023 14:51:30 +0000 (10:51 -0400)
include/deal.II/base/utilities.h

index 1b12d95c2e6146cc1dbc53b7566cefc26fed78af..879fa0276eade1a140d3cf0a516b351e4c7a77ea 100644 (file)
@@ -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<const T *>(&*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);
         }
     }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.