From c19ad409ca30242eee37e7337902100f395c8285 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Sat, 1 Jul 2023 23:08:01 -0400 Subject: [PATCH] Make clang-tidy happy. --- source/cgal/intersections.cc | 3 +-- source/grid/grid_generator_cgal.cc | 14 +++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) 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; -- 2.39.5