From abc44f4585caa12d64136f4f9529297523ada7d5 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 9 Sep 2007 00:14:04 +0000 Subject: [PATCH] Remove a workaround for gcc 2.95 (which we don't support any more). git-svn-id: https://svn.dealii.org/trunk@15170 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/numerics/data_out.h | 32 +-------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/deal.II/deal.II/include/numerics/data_out.h b/deal.II/deal.II/include/numerics/data_out.h index cd6877d8b3..125915ce92 100644 --- a/deal.II/deal.II/include/numerics/data_out.h +++ b/deal.II/deal.II/include/numerics/data_out.h @@ -166,36 +166,6 @@ template class FEValuesBase; template class DataOut_DoFData : public DataOutInterface { -//TODO: Do we still need this after changing the template argument? it also appears as if this bug is only triggered with gcc2.95, which we don't support any more anyway... -#ifdef DEAL_II_TEMPLATE_TEMPLATE_TYPEDEF_BUG - // helper class - struct DH_dim : public DH - { - // constructor. will - // not be implemented, - // but suppresses compiler - // warning about non-default - // constructor of GridClass - DH_dim (); - - /** - * Declare iterator type, for - * access from outside. - */ - typedef typename DH::cell_iterator cell_iterator; - typedef typename DH::active_cell_iterator active_cell_iterator; - }; - public: - - /** - * Typedef to the iterator type - * of the dof handler class under - * consideration. - */ - typedef typename DH_dim::cell_iterator cell_iterator; - typedef typename DH_dim::active_cell_iterator active_cell_iterator; - -#else public: /** @@ -205,7 +175,7 @@ class DataOut_DoFData : public DataOutInterface */ typedef typename DH::cell_iterator cell_iterator; typedef typename DH::active_cell_iterator active_cell_iterator; -#endif + public: /** -- 2.39.5