]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Inline functions don't need to be static.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 15 Mar 2005 16:53:12 +0000 (16:53 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 15 Mar 2005 16:53:12 +0000 (16:53 +0000)
git-svn-id: https://svn.dealii.org/trunk@10154 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/vector.templates.h

index db7ce15a8253753bc758d4fc59eb8c212ebfc75b..bd901547ec4de7c82fdaf646f5e42cf905fa6e30 100644 (file)
@@ -41,7 +41,7 @@ namespace internal
   namespace VectorHelper
   {
     template <typename Number>
-    static inline Number sqr (const Number x)
+    inline Number sqr (const Number 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.