>It is redundant (you cannot override a non-virtual function)

a() and b() in struct c in the example are virtual in both parents.


override is simply a check to tell the compiler you intend to override
a() and b() from parent classes.

If you put virtual blah() in struct C without override, you can be
creating a new virtual function if the signature does not match and
its completely valid.

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to