mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
bad signature
This commit is contained in:
parent
b9f41b5cd0
commit
0997489573
|
@ -4279,7 +4279,7 @@ See [this in the Discussion section](#Sd-dtor).
|
||||||
##### Example, bad
|
##### Example, bad
|
||||||
|
|
||||||
struct Base { // BAD: no virtual destructor
|
struct Base { // BAD: no virtual destructor
|
||||||
virtual f();
|
virtual void f();
|
||||||
};
|
};
|
||||||
|
|
||||||
struct D : Base {
|
struct D : Base {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user