]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Move a static function into an unnamed namespace.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 8 Mar 2003 04:59:55 +0000 (04:59 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 8 Mar 2003 04:59:55 +0000 (04:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@7288 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/error_estimator.cc

index 51fe74f0c8409f4f15b0a7719bde9584aabc5d53..7b5a9293f2b7e04db8e4bd2a274cf8fcf62bc35b 100644 (file)
 
 
 
-static
-inline
-double sqr (const double x)
+namespace
 {
-  return x*x;
+  inline
+  double sqr (const double x)
+  {
+    return x*x;
+  }
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.