Fix C.120 good example (#1426)

C.120 has a good example which violates C.128 by specifying both virtual and override for methods.
closes #1425
This commit is contained in:
jkorinth 2019-05-28 17:11:33 +02:00 committed by Sergey Zubkov
parent 6c92f514f4
commit 4c35d4c022

View File

@ -6788,8 +6788,8 @@ Do *not* use inheritance when simply having a data member will do. Usually this
};
class PushButton : public AbstractButton {
virtual void render() const override;
virtual void onClick() override;
void render() const override;
void onClick() override;
// ...
};