From: Wolfgang Bangerth Date: Fri, 16 May 2025 03:40:46 +0000 (-0600) Subject: Handle template arguments better in grid_out.cc. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F18456%2Fhead;p=dealii.git Handle template arguments better in grid_out.cc. --- diff --git a/source/grid/grid_out.cc b/source/grid/grid_out.cc index bfee457ec2..dea3335fae 100644 --- a/source/grid/grid_out.cc +++ b/source/grid/grid_out.cc @@ -3123,15 +3123,15 @@ namespace * This is made particularly simple because the patch only needs to * contain geometry info and additional properties of cells */ - template + template void generate_triangulation_patches( std::vector> &patches, - ITERATOR cell, - const END &end) + const IteratorType &begin, + const std_cxx20::type_identity_t &end) { // convert each of the active cells into a patch - for (; cell != end; ++cell) + for (auto cell = begin; cell != end; ++cell) { DataOutBase::Patch patch; patch.reference_cell = cell->reference_cell();