]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a workaround for gcc 2.95 (which we don't support any more).
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 9 Sep 2007 00:14:04 +0000 (00:14 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 9 Sep 2007 00:14:04 +0000 (00:14 +0000)
git-svn-id: https://svn.dealii.org/trunk@15170 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/numerics/data_out.h

index cd6877d8b3d4ee4e11671fb164ec70b128de64af..125915ce92df40c7b7c340f5982883173e4c1719 100644 (file)
@@ -166,36 +166,6 @@ template <int> class FEValuesBase;
 template <class DH, int patch_dim, int patch_space_dim=patch_dim>
 class DataOut_DoFData : public DataOutInterface<patch_dim,patch_space_dim>
 {
-//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<patch_dim,patch_space_dim>
                                      */
     typedef typename DH::cell_iterator cell_iterator;
     typedef typename DH::active_cell_iterator active_cell_iterator;
-#endif
+
   public:
 
                                     /**

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.