]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Postfix increment must return a temporary.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 5 Mar 2004 14:10:01 +0000 (14:10 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 5 Mar 2004 14:10:01 +0000 (14:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@8668 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix.h

index 4dd4052ac12d3877d2a2805ebea28de58f0935e0..5435afed0bf3098705af2c6090f69e918831701a 100644 (file)
@@ -127,7 +127,7 @@ class SparseMatrix : public virtual Subscriptor
                                          /**
                                           * Postfix increment.
                                           */
-       const_iterator& operator++ (int);
+       const_iterator operator++ (int);
 
                                          /**
                                           * Dereferencing operator.

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.