From: Wolfgang Bangerth Date: Mon, 31 Mar 2003 16:34:39 +0000 (+0000) Subject: Work around compiler bugs. X-Git-Tag: v8.0.0~16757 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5abaebf165675ff308f5420795d1b4ad3f3ba1b0;p=dealii.git Work around compiler bugs. git-svn-id: https://svn.dealii.org/trunk@7349 0785d39b-7218-0410-832d-ea1e28bc413d --- 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 };