]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make clang-tidy happy.
authorMarc Fehling <mafehling.git@gmail.com>
Sun, 2 Jul 2023 03:08:01 +0000 (23:08 -0400)
committerMarc Fehling <mafehling.git@gmail.com>
Sun, 2 Jul 2023 03:08:01 +0000 (23:08 -0400)
source/cgal/intersections.cc
source/grid/grid_generator_cgal.cc

index f292db9c9cba866801a22e296a971f10b6902211..3a990d7043608a17ab52649d8f7441bbe962d2c6 100644 (file)
@@ -83,8 +83,7 @@ namespace CGALWrappers
 
   struct FaceInfo2
   {
-    FaceInfo2()
-    {}
+    FaceInfo2() = default;
     int nesting_level;
     bool
     in_domain()
index a5a7fafa694010c73b440b01e46ded239a56f0f0..2b49372c5efa952376109094ad7fefa7c71448bb 100644 (file)
@@ -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<Tr>;
-        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<Tr>;
+        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<GT, Function>;
         using Surface_mesh = CGAL::Surface_mesh<Point_3>;
 

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.