]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark a function argument as 'const'. 12260/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 20 May 2021 15:41:31 +0000 (09:41 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 20 May 2021 19:23:52 +0000 (13:23 -0600)
tests/tests.h

index 533f335a723209e5f8cd8b2d8ea58cb52f483e14..e8c25d3c4fd5d05e804a80b00bf4ea6dcfe3365e 100644 (file)
@@ -496,7 +496,7 @@ std::string   deallogname;
 std::ofstream deallogfile;
 
 void
-initlog(bool                          console = false,
+initlog(const bool                    console = false,
         const std::ios_base::fmtflags flags   = std::ios::showpoint |
                                               std::ios::left)
 {

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.