]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Declare inline functions inline before they are called.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 Jan 2004 12:55:16 +0000 (12:55 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 Jan 2004 12:55:16 +0000 (12:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@8361 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/block_indices.h

index 5c311eb6cd998d6a0d3df77b85e453a3bd887bce..9e71807e9e9b6b7e26c2e3e8c14d994eb8d60e09 100644 (file)
@@ -67,7 +67,7 @@ class BlockIndices
                                      * of block @p{i} is set to
                                      * @p{n[i]}.
                                      */
-    void reinit (const std::vector<unsigned int> &n);
+    inline void reinit (const std::vector<unsigned int> &n);
     
                                     /**
                                      * Return the block and the
@@ -99,7 +99,7 @@ class BlockIndices
                                      * of the vector space of the
                                      * block vector.
                                      */
-    unsigned int total_size () const;
+    inline unsigned int total_size () const;
 
                                     /**
                                      * Return the size of the @p{i}th

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.