]> www.ginac.de Git - ginac.git/blobdiff - ginac/fail.h
[BUGFIX] Fix crash in parser.
[ginac.git] / ginac / fail.h
index 025d5841a6084a61974823a6655ff083d92accb2..4afee2f215a9424f1bd9dda330b547b343ab4aa7 100644 (file)
@@ -4,7 +4,7 @@
  *  somewhat obsolete (most of this can be replaced by exceptions). */
 
 /*
- *  GiNaC Copyright (C) 1999-2011 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2024 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -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: