My suggestion is in the future when editing such code, also add the 'override' to the virtual functions so the compiler can catch the case where you miss something.