]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make an input argument to a function 'const'. 5688/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 31 Dec 2017 22:27:47 +0000 (15:27 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 31 Dec 2017 22:27:47 +0000 (15:27 -0700)
tests/tests.h

index eb4212e8f4138a7fb40500e9e851d227ba436ab7..f4bb24388076d34fec52801da9bb894a318d7334 100644 (file)
@@ -437,7 +437,7 @@ initlog(bool console=false)
 
 inline
 void
-mpi_initlog(bool console=false)
+mpi_initlog(const bool console=false)
 {
 #ifdef DEAL_II_WITH_MPI
   unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);

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.