From 56f2b957e6dbbd7981943ab912db8cf8eec7fba4 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 11 Apr 2002 15:11:14 +0000 Subject: [PATCH] Work around compiler bug here as well. git-svn-id: https://svn.dealii.org/trunk@5647 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/block_vector.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/deal.II/lac/include/lac/block_vector.h b/deal.II/lac/include/lac/block_vector.h index b6d20b3b0d..fe42c8c2fd 100644 --- a/deal.II/lac/include/lac/block_vector.h +++ b/deal.II/lac/include/lac/block_vector.h @@ -1148,11 +1148,17 @@ class BlockVector /** * Make the iterator class a - * friend. + * friend. We have to work around + * a compiler bug here again. */ +#ifndef DEAL_II_NAMESP_TEMPL_FRIEND_BUG + template + friend class BlockVectorIterators::Iterator; +#else friend class iterator; friend class const_iterator; - +#endif + template friend class BlockVector; }; -- 2.39.5