From: Luca Heltai Date: Mon, 25 Jul 2022 13:24:37 +0000 (+0300) Subject: Fixed clang-tidy. X-Git-Tag: v9.5.0-rc1~1058^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14150%2Fhead;p=dealii.git Fixed clang-tidy. --- 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; }