]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed clang-tidy. 14150/head
authorLuca Heltai <luca.heltai@sissa.it>
Mon, 25 Jul 2022 13:24:37 +0000 (16:24 +0300)
committerLuca Heltai <luca.heltai@sissa.it>
Mon, 25 Jul 2022 13:24:37 +0000 (16:24 +0300)
source/grid/tria.cc

index 2f8fa9c9f6e125f3696ae8f52e6434c649c8781d..eaa30ee9eb0608b2c644b12897517ca9aa5f0883 100644 (file)
@@ -13987,8 +13987,8 @@ Triangulation<dim, spacedim>::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;
     }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.