]> www.ginac.de Git - ginac.git/blobdiff - ginsh/ginsh_parser.ypp
Make ample use of the contextual keyword 'override'.
[ginac.git] / ginsh / ginsh_parser.ypp
index bb62ed051b9e55530d4173ee5d837ed35d7b9b1b..6210deff40f704b82104cffe75b496cd7b42bb81 100644 (file)
@@ -472,7 +472,7 @@ class apply_map_function : public map_function {
 public:
        apply_map_function(const ex & a) : apply(a) {}
        virtual ~apply_map_function() {}
-       ex operator()(const ex & e) { return apply.subs(wild() == e, true); }
+       ex operator()(const ex & e) override { return apply.subs(wild() == e, true); }
 };
 
 static ex f_map(const exprseq &e)