mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-18 13:14:40 +03:00
bad signature
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user