]> www.ginac.de Git - ginac.git/blobdiff - ginac/wildcard.h
Make ample use of the contextual keyword 'override'.
[ginac.git] / ginac / wildcard.h
index d157d9b7550005bee0a25b0067d1645a7fc0b0da..6a66ae3f7a8a3d0a5ff7ad86a06a5c2b6f02a893 100644 (file)
@@ -41,14 +41,14 @@ public:
 
        // functions overriding virtual functions from base classes
 public:
-       bool match(const ex & pattern, exmap& repl_lst) const;
+       bool match(const ex & pattern, exmap& repl_lst) const override;
 
        /** Save (a.k.a. serialize) object into archive. */
-       void archive(archive_node& n) const;
+       void archive(archive_node& n) const override;
        /** Read (a.k.a. deserialize) object from archive. */
-       void read_archive(const archive_node& n, lst& syms);
+       void read_archive(const archive_node& n, lst& syms) override;
 protected:
-       unsigned calchash() const;
+       unsigned calchash() const override;
 
        // non-virtual functions in this class
 public: