]> https://gitweb.dealii.org/ - dealii.git/commit
CGAL: avoid a compiler warning
authorMatthias Maier <tamiko@43-1.org>
Sun, 25 Sep 2022 18:29:40 +0000 (13:29 -0500)
committerMatthias Maier <tamiko@43-1.org>
Sun, 25 Sep 2022 18:29:40 +0000 (13:29 -0500)
commit68e36dad44f0aa6365b28a5af9529ac01faf8a25
treed574f6282073149ee5c18c34adb7a4016e9e61c2
parent5c75851574f21154113af2fadc99c0d2fdead89b
CGAL: avoid a compiler warning

Avoid an unnecessary copy:

source/cgal/intersections.cc:555:25: note: use reference type to prevent copying
  555 |         for (const auto f : tria_quad.finite_facets())
      |                         ^
      |                         &
source/cgal/intersections.cc

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.