From a3216cf86363cbe7247292d1377a9a24d3bd6913 Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 10 May 2006 23:09:39 +0000 Subject: [PATCH] Make an input parameter const. git-svn-id: https://svn.dealii.org/trunk@13093 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/geometry_info.h | 2 +- deal.II/base/source/geometry_info.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/base/include/base/geometry_info.h b/deal.II/base/include/base/geometry_info.h index 21b39e82d7..dce7843557 100644 --- a/deal.II/base/include/base/geometry_info.h +++ b/deal.II/base/include/base/geometry_info.h @@ -908,7 +908,7 @@ struct GeometryInfo * For points inside the cell, this is * defined as zero. */ - static double distance_to_unit_cell(Point &p); + static double distance_to_unit_cell (const Point &p); /** * For each face of the reference diff --git a/deal.II/base/source/geometry_info.cc b/deal.II/base/source/geometry_info.cc index 647e0426b7..a636d2236e 100644 --- a/deal.II/base/source/geometry_info.cc +++ b/deal.II/base/source/geometry_info.cc @@ -437,7 +437,7 @@ GeometryInfo::project_to_unit_cell (Point &p) template double -GeometryInfo::distance_to_unit_cell (Point &p) +GeometryInfo::distance_to_unit_cell (const Point &p) { double result = 0.0; -- 2.39.5