]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Work around a problem where the MIPSpro compiler rightfully complained about a useles...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 7 Jun 2004 14:49:10 +0000 (14:49 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 7 Jun 2004 14:49:10 +0000 (14:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@9392 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/block_vector_base.h
deal.II/lac/include/lac/petsc_vector_base.h

index 36e1921575b61b9e6dc9c39f1f80387a551030a1..16b518b37c7c1beb2c0539e690cce2fdc835c976 100644 (file)
@@ -671,7 +671,7 @@ class BlockVectorBase
     typedef internal::BlockVectorIterators::Iterator<BlockVectorBase,false> iterator;
     typedef internal::BlockVectorIterators::Iterator<BlockVectorBase,true>  const_iterator;
     typedef typename BlockType::reference       reference;
-    typedef const typename BlockType::reference const_reference;
+    typedef typename BlockType::const_reference const_reference;
 
     typedef std::size_t                     size_type;
 
index 89d41f996192426d5391b87c3e7faa835f3e8e4d..eb638d1e02989869e3df828f0a9effb14e917934 100644 (file)
@@ -216,6 +216,7 @@ namespace PETScWrappers
       typedef PetscScalar               value_type;
       typedef size_t                    size_type;
       typedef internal::VectorReference reference;
+      typedef const internal::VectorReference const_reference;
 
                                        /**
                                         * Default constructor. It doesn't do

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.