]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Reimport a few symbols through using-declarations.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Jul 2005 16:40:03 +0000 (16:40 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Jul 2005 16:40:03 +0000 (16:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@11047 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/data_out_base.h

index 9d24ed78cf396ce1b921a7b75d5e631fdc847eda..e72297d49d6ba6313c8c65d33878dcec5e7ee6e5 100644 (file)
@@ -1921,6 +1921,20 @@ template <int dim, int spacedim=dim>
 class DataOutInterface : private DataOutBase
 {
   public:
+                                     /**
+                                      * Import a few names that were
+                                      * previously in this class and have then
+                                      * moved to the base class. Since the
+                                      * base class is inherited from
+                                      * privately, we need to re-import these
+                                      * symbols to make sure that references
+                                      * to DataOutInterface<dim,spacedim>::XXX
+                                      * remain valid.
+                                      */
+    using DataOutBase::OutputFormat;
+    using DataOutBase::parse_output_format;
+    using DataOutBase::get_output_format_names;
+    
                                      /**
                                       * Destructor. Does nothing, but is
                                       * declared virtual since this class has

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.