cppcheck doesn't recognise final in a class definition as implying functions in the class are final
2022-07-02
2022-07-05
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
So when I have something like
gives me the virtualCallInConstructor message. I have to do this:
to resolve it
(cppcheck 2.8)
Last edit: T Tanner 2022-07-02
Thanks! I have created https://trac.cppcheck.net/ticket/11167
For information instead of
override final
you should writefinal
.well, i thought i probably shouldn't be writing final at all, as the whole class as final!
Thank you for raising a ticket, i shall follow it.