]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make a variable 'const'. 13354/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 10 Feb 2022 03:34:23 +0000 (20:34 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 10 Feb 2022 03:34:23 +0000 (20:34 -0700)
include/deal.II/lac/affine_constraints.templates.h

index e12b30cc991550073772b490ee983ac3b8217bca..6e06aea6cec2eef3fea3ae3878540206f8b80e1e 100644 (file)
@@ -149,7 +149,7 @@ AffineConstraints<number>::is_consistent_in_parallel(
         }
     }
 
-  std::map<unsigned int, std::vector<ConstraintLine>> received =
+  const std::map<unsigned int, std::vector<ConstraintLine>> received =
     Utilities::MPI::some_to_some(mpi_communicator, to_send);
 
   unsigned int inconsistent = 0;

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.