From 5abaebf165675ff308f5420795d1b4ad3f3ba1b0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 31 Mar 2003 16:34:39 +0000 Subject: [PATCH] Work around compiler bugs. git-svn-id: https://svn.dealii.org/trunk@7349 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix_ez.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deal.II/lac/include/lac/sparse_matrix_ez.h b/deal.II/lac/include/lac/sparse_matrix_ez.h index 04f12e1fa0..3dcfcb4ccb 100644 --- a/deal.II/lac/include/lac/sparse_matrix_ez.h +++ b/deal.II/lac/include/lac/sparse_matrix_ez.h @@ -316,7 +316,7 @@ class SparseMatrixEZ : public Subscriptor * class being granted * friendship... */ -#ifdef DEAL_II_NESTED_NESTED_FRIEND_BUG +#ifdef DEAL_II_NESTED_CLASS_FRIEND_BUG template friend class SparseMatrixEZ; #endif }; @@ -1006,8 +1006,10 @@ class SparseMatrixEZ : public Subscriptor * standard, but some compilers * require this... */ +#ifdef DEAL_II_NESTED_CLASS_FRIEND_BUG friend class const_iterator; friend class const_iterator::Accessor; +#endif }; -- 2.39.5