| Example | |
|
| Solution | |
Do not override
non-virtual functions. Change your design in order not to use the
base class, or make the base class function virtual to ensure
polymorphic behaviour.
|