From 5c2ccb6bfd3fa47bd68a092171c0f6aa821e90af Mon Sep 17 00:00:00 2001 From: hartmann Date: Tue, 19 Mar 2002 13:59:57 +0000 Subject: [PATCH] Revert latest changes due to Sun Forte bug 6. git-svn-id: https://svn.dealii.org/trunk@5588 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/block_vector.h | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/deal.II/lac/include/lac/block_vector.h b/deal.II/lac/include/lac/block_vector.h index c1268fb9e5..30f591c40a 100644 --- a/deal.II/lac/include/lac/block_vector.h +++ b/deal.II/lac/include/lac/block_vector.h @@ -563,13 +563,7 @@ namespace BlockVectorIterators */ void move_backward (); - /** - * Make all other iterators - * friend, i.e. including the - * one with opposite constness. - */ - template - friend class Iterator; + friend class InverseConstnessIterator; }; }; @@ -1132,11 +1126,11 @@ class BlockVector unsigned int num_blocks; /** - * Make the iterator classes - * friends. + * Make the iterator class a + * friend. */ - template - friend class BlockVectorIterators::Iterator; + friend class iterator; + friend class const_iterator; template friend class BlockVector; }; -- 2.39.5