]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid a problem with types that are sometimes undefined and
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 23 Oct 2000 14:44:56 +0000 (14:44 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 23 Oct 2000 14:44:56 +0000 (14:44 +0000)
incomprehensible error messages resulting from that.

git-svn-id: https://svn.dealii.org/trunk@3458 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/intergrid_map.h

index 788d472d4eb3efe4bdc4056b25f2d28b41742474..527e6a0579e4bfc4a7bb4046d2ea0f52c7f225c4 100644 (file)
@@ -118,6 +118,12 @@ class InterGridMap
                                         // warning about non-default
                                         // constructor of GridClass
        GridClass_dim ();
+
+                                        /**
+                                         * Declare iterator type, for
+                                         * access from outside.
+                                         */
+       typedef typename GridClass<dim>::cell_iterator cell_iterator;
     };
     
                                     /**

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.