'base-class function': function marked as 'sealed' -- will not be overridden by 'derived-class function'
The compiler detected an override function for a function that was marked with the __sealed keyword. This warning informs you that when the function is accessed via a pointer of the base class to the derived class, that the base class function will be called. If you call the derived-class function, you will access the derived class function.
For example:
#include <stdio.h> class A { public: virtual __sealed int func1(void) { return 1; } }; class B : public A { public: int func1(void) { // C4922 return 2; } }; void main() { B b; printf("\n%d",b.func1()); // prints 2 B *pBb = new B; printf("\n%d",pB->func1()); // prints 2 A *pA = new B; printf("\n%d",pA->func1()); // prints 1 }