We want to be able to build the code as strictly as possible without compiler warnings. This fixes warnings from -Wsuggest-override, which indicates the potential for hidden mistakes relating to dynamic method dispatch, and hence incorrect results.
Changes
Add override on various member function declarations throughout the code and tests
We want to be able to build the code as strictly as possible without compiler warnings. This fixes warnings from
-Wsuggest-override
, which indicates the potential for hidden mistakes relating to dynamic method dispatch, and hence incorrect results.Changes
override
on various member function declarations throughout the code and tests-Wsuggest-override
to CI build with-Werror
so new instances aren't introducedTesting
Notes
Checklist