From 1a64247672782d9b3e707cd4995df79d2fcadb35 Mon Sep 17 00:00:00 2001 From: wolf Date: Sat, 8 Mar 2003 04:59:55 +0000 Subject: [PATCH] Move a static function into an unnamed namespace. git-svn-id: https://svn.dealii.org/trunk@7288 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/error_estimator.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/deal.II/deal.II/source/numerics/error_estimator.cc b/deal.II/deal.II/source/numerics/error_estimator.cc index 51fe74f0c8..7b5a9293f2 100644 --- a/deal.II/deal.II/source/numerics/error_estimator.cc +++ b/deal.II/deal.II/source/numerics/error_estimator.cc @@ -33,11 +33,13 @@ -static -inline -double sqr (const double x) +namespace { - return x*x; + inline + double sqr (const double x) + { + return x*x; + } } -- 2.39.5