From: wolf Date: Sat, 8 Mar 2003 04:59:55 +0000 (+0000) Subject: Move a static function into an unnamed namespace. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a64247672782d9b3e707cd4995df79d2fcadb35;p=dealii-svn.git Move a static function into an unnamed namespace. git-svn-id: https://svn.dealii.org/trunk@7288 0785d39b-7218-0410-832d-ea1e28bc413d --- 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; + } }