From: bangerth Date: Sun, 12 Apr 2009 04:01:00 +0000 (+0000) Subject: Make a couple of input arguments 'const'. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81d5eced50d7e24be512683002933c6790feab24;p=dealii-svn.git Make a couple of input arguments 'const'. git-svn-id: https://svn.dealii.org/trunk@18591 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-34/step-34.cc b/deal.II/examples/step-34/step-34.cc index bcc37c7d48..b4b868c452 100644 --- a/deal.II/examples/step-34/step-34.cc +++ b/deal.II/examples/step-34/step-34.cc @@ -117,7 +117,7 @@ namespace LaplaceKernel { template double single_layer(const Point &R, - bool factor_out_2d_singularity = false) { + const bool factor_out_2d_singularity = false) { switch(dim) { case 2: if(factor_out_2d_singularity == true) @@ -140,7 +140,7 @@ double single_layer(const Point &R, template Point double_layer(const Point &R, - bool factor_out_2d_singularity = false) { + const bool factor_out_2d_singularity = false) { switch(dim) { case 2: if (factor_out_2d_singularity)