]> www.ginac.de Git - ginac.git/blobdiff - ginac/fail.h
Make ample use of the contextual keyword 'override'.
[ginac.git] / ginac / fail.h
index 882f7406933b3c1b92688f72f71e8be4c93f8ca6..cda726f7e4100367e5bb9a8ff0cc6de32217db63 100644 (file)
@@ -35,7 +35,7 @@ class fail : public basic
        
        // functions overriding virtual functions from base classes
 protected:
-       unsigned return_type() const { return return_types::noncommutative_composite; };
+       unsigned return_type() const override { return return_types::noncommutative_composite; };
 
        // non-virtual functions in this class
 protected: