From a59fd6cec772b5577ed30d1c0cdd7d3807c3ed71 Mon Sep 17 00:00:00 2001 From: wolf 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