Fix comment in C.128 example (#1449)

This commit is contained in:
shaneasd 2019-06-18 22:22:50 +08:00 committed by Sergey Zubkov
parent 4b414458cf
commit d456ccf274

View File

@ -6998,9 +6998,9 @@ If a base class destructor is declared `virtual`, one should avoid declaring der
##### Example, good
struct Better : B {
void f1(int) override; // error (caught): D::f1() hides B::f1()
void f1(int) override; // error (caught): Better::f1() hides B::f1()
void f2(int) const override;
void f3(double) override; // error (caught): D::f3() hides B::f3()
void f3(double) override; // error (caught): Better::f3() hides B::f3()
// ...
};