]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Allow for at least one non-virtual function in this class, as otherwise sometimes...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Jun 1999 18:43:03 +0000 (18:43 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 29 Jun 1999 18:43:03 +0000 (18:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@1506 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/parameter_handler.h
deal.II/base/source/parameter_handler.cc

index 68aaad61aa815472b6db38f373c42934a7557851..581daab19948a5b581943f51a2df38e5ec173585 100644 (file)
@@ -130,6 +130,13 @@ struct Patterns {
                                      */
     class Anything : public PatternBase {
       public:
+                                        /**
+                                         * Allow for at least one non-virtual
+                                         * function in this class, as
+                                         * otherwise sometimes no virtual
+                                         * table is emitted.
+                                         */
+       Anything ();
        virtual bool match (const string &test_string) const;
        virtual string description () const;
        virtual PatternBase * clone () const;
index 186a07d7223bcdd1986ead9645c10ec47d84d7bf..3411378e3c7228f808bc8fe04285103393dccd27 100644 (file)
@@ -102,6 +102,11 @@ Patterns::Bool::clone () const {
 
 
 
+Patterns::Anything::Anything ()
+{};
+
+
+
 bool Patterns::Anything::match (const string &) const {
   return true;
 };

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.