From c28af00d83793034eec3946011ab0eee0260654b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 4 Mar 2004 16:07:56 +0000 Subject: [PATCH] Work around a bug in icc. git-svn-id: https://svn.dealii.org/trunk@8656 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/numerics/data_out.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/deal.II/deal.II/include/numerics/data_out.h b/deal.II/deal.II/include/numerics/data_out.h index 742ddcb497..f059d90333 100644 --- a/deal.II/deal.II/include/numerics/data_out.h +++ b/deal.II/deal.II/include/numerics/data_out.h @@ -703,6 +703,20 @@ class DataOut_DoFData : public DataOutInterface * @p{merge_patches} function. */ template friend class DataOut_DoFData; + +#ifdef DEAL_II_CHECK_NESTED_CLASS_FRIEND_BUG + /** + * Make DataEntry a friend. This should + * not be strictly necessary, since + * members are implicitly friends, but in + * this case it seems as if icc needs + * this. Otherwise, it complains that + * DataEntry can't derive from + * DataEntryBase since the latter is a + * private member of DataOut_DoFData. + */ + template friend class DataEntry; +#endif }; -- 2.39.5