From: wolf Date: Fri, 19 Apr 2002 10:24:16 +0000 (+0000) Subject: Make parameter const to make Intel icc happier. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb8915eb74d92606db9b19b0dfecbe9b3125d596;p=dealii-svn.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) {}