]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Consistently use 'const bool' in function definitions.
authorDavid Wells <wellsd2@rpi.edu>
Fri, 27 Apr 2018 02:26:36 +0000 (22:26 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Fri, 27 Apr 2018 11:22:28 +0000 (07:22 -0400)
source/grid/grid_generator.cc

index bda693595156ad05c3757ad842fa2c5a6ce8d702..d7730847e99af561affe18044da8aacb29759057 100644 (file)
@@ -4252,7 +4252,7 @@ namespace GridGenerator
                                          const double,
                                          const double,
                                          const unsigned int,
-                                         bool)
+                                         const bool)
   {
     Assert(false, ExcNotImplemented());
   }
@@ -4266,7 +4266,7 @@ namespace GridGenerator
                                     const double outer_radius,
                                     const double, // width,
                                     const unsigned int, // width_repetition,
-                                    bool colorize)
+                                    const bool colorize)
   {
     const int dim = 2;
 
@@ -4364,7 +4364,7 @@ namespace GridGenerator
                                         const double outer_radius,
                                         const double L,
                                         const unsigned int Nz,
-                                        bool colorize)
+                                        const bool colorize)
   {
     const int dim = 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.