]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Choose a better name for a template argument. 16367/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 18 Dec 2023 23:59:07 +0000 (16:59 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 18 Dec 2023 23:59:37 +0000 (16:59 -0700)
source/grid/tria_description.cc

index cc8258aeaa606bc2ffe47e1a04c8ea1c419338b2..36adba9b147a71692c2e2b628e189a4b47f36429 100644 (file)
@@ -442,11 +442,11 @@ namespace TriangulationDescription
             tria, coinciding_vertex_groups, vertex_to_coinciding_vertex_group);
         }
 
-        template <typename T>
-        T
+        template <typename DescriptionType>
+        DescriptionType
         create_description_for_rank(const unsigned int my_rank) const
         {
-          T construction_data;
+          DescriptionType construction_data;
 
           set_additional_data(construction_data);
 

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.