From 02df79bba1ac8864a9f1425a4b31117f3c6b0b0b Mon Sep 17 00:00:00 2001 From: hartmann Date: Tue, 20 Apr 2004 12:04:22 +0000 Subject: [PATCH] Declare functions inline before calling them. git-svn-id: https://svn.dealii.org/trunk@9072 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparsity_pattern.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/deal.II/lac/include/lac/sparsity_pattern.h b/deal.II/lac/include/lac/sparsity_pattern.h index 56108e0476..08dfd70ccd 100644 --- a/deal.II/lac/include/lac/sparsity_pattern.h +++ b/deal.II/lac/include/lac/sparsity_pattern.h @@ -109,7 +109,7 @@ namespace internals * valid. If this is so, then this * function will return false. */ - bool is_valid_entry () const; + inline bool is_valid_entry () const; /** @@ -644,12 +644,12 @@ class SparsityPattern : public Subscriptor * can be used to walk over all nonzero * entries of the sparsity pattern. */ - iterator begin () const; + inline iterator begin () const; /** * Final iterator. */ - iterator end () const; + inline iterator end () const; /** * STL-like iterator with the first entry @@ -663,7 +663,7 @@ class SparsityPattern : public Subscriptor * iterator may not be dereferencable in * that case. */ - iterator begin (const unsigned int r) const; + inline iterator begin (const unsigned int r) const; /** * Final iterator of row r. It @@ -676,7 +676,7 @@ class SparsityPattern : public Subscriptor * particular the case if it is the end * iterator for the last row of a matrix. */ - iterator end (const unsigned int r) const; + inline iterator end (const unsigned int r) const; /** * This function can be used as a @@ -951,14 +951,14 @@ class SparsityPattern : public Subscriptor * matrix, which equals the dimension * of the image space. */ - unsigned int n_rows () const; + inline unsigned int n_rows () const; /** * Return number of columns of this * matrix, which equals the dimension * of the range space. */ - unsigned int n_cols () const; + inline unsigned int n_cols () const; /** * Check if a value at a certain @@ -970,7 +970,7 @@ class SparsityPattern : public Subscriptor /** * Number of entries in a specific row. */ - unsigned int row_length (const unsigned int row) const; + inline unsigned int row_length (const unsigned int row) const; /** * Access to column number field. @@ -1238,7 +1238,7 @@ class SparsityPattern : public Subscriptor * avoid programs relying on outdated * information! */ - const unsigned int * get_rowstart_indices () const; + inline const unsigned int * get_rowstart_indices () const; /** * @deprecated. Use @p row_length and @@ -1266,7 +1266,7 @@ class SparsityPattern : public Subscriptor * avoid programs relying on outdated * information! */ - const unsigned int * get_column_numbers () const; + inline const unsigned int * get_column_numbers () const; /** * Exception -- 2.39.5