From: Bruno Blais Date: Sun, 11 Feb 2024 21:10:43 +0000 (-0500) Subject: Add const qualifier X-Git-Tag: relicensing~48^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4213ace578895cef343fba96daba0190f73849b3;p=dealii.git Add const qualifier --- diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index c682fbcf03..5082ba34eb 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -6482,7 +6482,7 @@ namespace GridGenerator std::min(1e-3 * (outer_radius - inner_radius), 1e-3 * length); double mid_radial_distance = 0.5 * (outer_radius - inner_radius); - for (auto &cell : tria.active_cell_iterators()) + for (const auto &cell : tria.active_cell_iterators()) for (const unsigned int f : GeometryInfo<3>::face_indices()) { if (!cell->face(f)->at_boundary())