From ddad1ad36dd0b3b22e6be792ddc259a3056e1aec Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 19 Apr 2002 10:24:16 +0000 Subject: [PATCH] Make parameter const to make Intel icc happier. git-svn-id: https://svn.dealii.org/trunk@5686 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/function_lib.h | 2 +- deal.II/base/source/function_lib_cutoff.cc | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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) {} -- 2.39.5