]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make row_iterator const_iterator to avoid MIPSpro error: line 424, No suitable user...
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Aug 2007 08:09:15 +0000 (08:09 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Aug 2007 08:09:15 +0000 (08:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@14978 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/compressed_set_sparsity_pattern.h

index a915ab8788396979bd740a59e3237b2801ed49b4..977dfdf758d2efd33225cfb7e86f9abe6b2ea6eb 100644 (file)
@@ -106,7 +106,7 @@ class CompressedSetSparsityPattern : public Subscriptor
                                      * row. The result of dereferencing such
                                      * an iterator is a column index.
                                      */
-    typedef std::set<unsigned int>::iterator row_iterator;
+    typedef std::set<unsigned int>::const_iterator row_iterator;
 
 
                                     /**

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.