From: Wolfgang Bangerth Date: Fri, 19 Apr 2002 10:24:16 +0000 (+0000) Subject: Make parameter const to make Intel icc happier. X-Git-Tag: v8.0.0~18162 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddad1ad36dd0b3b22e6be792ddc259a3056e1aec;p=dealii.git Make parameter const to make Intel icc happier. git-svn-id: https://svn.dealii.org/trunk@5686 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/function_lib.h b/deal.II/base/include/base/function_lib.h index 81e77418b9..69e9126f9f 100644 --- a/deal.II/base/include/base/function_lib.h +++ b/deal.II/base/include/base/function_lib.h @@ -809,7 +809,7 @@ namespace Functions * only. */ CutOffFunctionBase (const double radius = 1., - Point = Point(), + const Point = Point(), const unsigned int n_components = 1, const unsigned int select = no_component); diff --git a/deal.II/base/source/function_lib_cutoff.cc b/deal.II/base/source/function_lib_cutoff.cc index 7c04aa7025..8a339bdb5c 100644 --- a/deal.II/base/source/function_lib_cutoff.cc +++ b/deal.II/base/source/function_lib_cutoff.cc @@ -46,12 +46,12 @@ namespace Functions CutOffFunctionBase::CutOffFunctionBase (const double r, const Point p, const unsigned int n_components, - unsigned int select) + const unsigned int select) : Function (n_components), - center(p), - radius(r), - selected(select) + center(p), + radius(r), + selected(select) {}