]> www.ginac.de Git - ginac.git/commit
Suppress compiler warnings about inconsistent override.
authorRichard Kreckel <kreckel@ginac.de>
Sat, 1 Oct 2016 22:45:11 +0000 (00:45 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Sat, 1 Oct 2016 22:45:11 +0000 (00:45 +0200)
commit94f2d7ab9102d58550fa66d2718701571e87825d
tree283f51a8edae801d1126e880904d92c6ec4f9c8c
parentc018acc8ddca143ba6a202ad095b192205708bc4
Suppress compiler warnings about inconsistent override.

The introduction of the 'override' keyword in GiNaC in d5b86dd10 was
deliberately incomplete: Duplication of code in macros was avoided.
It turns out that some compilers (e.g. g++ -Wsuggest-override or clang++
-Wall) complain if the 'override' keyword is used inconsistently. Let's
make this consistent now, even if it leads to the introduction of two
more macros.
ginac/print.h
ginac/registrar.h