From: Marc Fehling Date: Sun, 2 Jul 2023 03:08:01 +0000 (-0400) Subject: Make clang-tidy happy. X-Git-Tag: relicensing~797^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c19ad409ca30242eee37e7337902100f395c8285;p=dealii.git Make clang-tidy happy. --- diff --git a/source/cgal/intersections.cc b/source/cgal/intersections.cc index f292db9c9c..3a990d7043 100644 --- a/source/cgal/intersections.cc +++ b/source/cgal/intersections.cc @@ -83,8 +83,7 @@ namespace CGALWrappers struct FaceInfo2 { - FaceInfo2() - {} + FaceInfo2() = default; int nesting_level; bool in_domain() diff --git a/source/grid/grid_generator_cgal.cc b/source/grid/grid_generator_cgal.cc index a5a7fafa69..2b49372c5e 100644 --- a/source/grid/grid_generator_cgal.cc +++ b/source/grid/grid_generator_cgal.cc @@ -93,13 +93,13 @@ namespace GridGenerator else if constexpr (dim == 2) { // default triangulation for Surface_mesher - using Tr = CGAL::Surface_mesh_default_triangulation_3; - using C2t3 = CGAL::Complex_2_in_triangulation_3; - using GT = Tr::Geom_traits; - using Sphere_3 = GT::Sphere_3; - using Point_3 = GT::Point_3; - using FT = GT::FT; - typedef FT (*Function)(Point_3); + using Tr = CGAL::Surface_mesh_default_triangulation_3; + using C2t3 = CGAL::Complex_2_in_triangulation_3; + using GT = Tr::Geom_traits; + using Sphere_3 = GT::Sphere_3; + using Point_3 = GT::Point_3; + using FT = GT::FT; + using Function = FT (*)(Point_3); using Surface_3 = CGAL::Implicit_surface_3; using Surface_mesh = CGAL::Surface_mesh;