marked ‘override’, but does not override错误

marked ‘override’, but does not override错误
派生类如果使用override,则基类函数需要确保添加了virtual
参考:https://www.cnblogs.com/chrislzy/p/14942300.html

你可能感兴趣的:(marked ‘override’, but does not override错误)