dimanche 17 juillet 2022

Using "override" specifier

ALL,

In my program I'm using a library which uses macros.

One of the macros is using virtual function.

Now every time I'm making a child of the class I'm getting an error about missing override, since I'm building in C++11+.

Is there an easy way to fix such a warning without changing the library code significantly?

Or I'm out of luck and have to bite the bullet and replace all macro instances with the full implementation?

Thank you.

Aucun commentaire:

Enregistrer un commentaire