From: wolf Date: Fri, 5 Mar 2004 14:10:01 +0000 (+0000) Subject: Postfix increment must return a temporary. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=407982250728fd71a1a8e5dc417cc4ff083ddd0f;p=dealii-svn.git Postfix increment must return a temporary. git-svn-id: https://svn.dealii.org/trunk@8668 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/sparse_matrix.h b/deal.II/lac/include/lac/sparse_matrix.h index 4dd4052ac1..5435afed0b 100644 --- a/deal.II/lac/include/lac/sparse_matrix.h +++ b/deal.II/lac/include/lac/sparse_matrix.h @@ -127,7 +127,7 @@ class SparseMatrix : public virtual Subscriptor /** * Postfix increment. */ - const_iterator& operator++ (int); + const_iterator operator++ (int); /** * Dereferencing operator.