From afb750f84be29c352581f7a446a4641505b47842 Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Mon, 25 Jul 2022 16:24:37 +0300 Subject: [PATCH] Fixed clang-tidy. --- source/grid/tria.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/grid/tria.cc b/source/grid/tria.cc index 2f8fa9c9f6..eaa30ee9eb 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -13987,8 +13987,8 @@ Triangulation::has_hanging_nodes() const } else { - for (const auto cell : active_cell_iterators()) - for (const auto i : cell->face_indices()) + for (const auto &cell : active_cell_iterators()) + for (const auto &i : cell->face_indices()) if (cell->face(i)->has_children()) return true; } -- 2.39.5