From 5abcbc7f09eba7916d59277023778c55cd622770 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 7 Aug 2019 14:31:31 -0600 Subject: [PATCH] const cell --- examples/step-49/step-49.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/step-49/step-49.cc b/examples/step-49/step-49.cc index abf6625b9e..0787c9fd21 100644 --- a/examples/step-49/step-49.cc +++ b/examples/step-49/step-49.cc @@ -72,7 +72,7 @@ void print_mesh_info(const Triangulation &triangulation, // we then increment it): { std::map boundary_count; - for (auto &cell : triangulation.active_cell_iterators()) + for (const auto &cell : triangulation.active_cell_iterators()) { for (unsigned int face = 0; face < GeometryInfo::faces_per_cell; ++face) -- 2.39.5