Skip to content

Commit 0997489

Browse files
committed
bad signature
1 parent b9f41b5 commit 0997489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CppCoreGuidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4279,7 +4279,7 @@ See [this in the Discussion section](#Sd-dtor).
42794279
##### Example, bad
42804280

42814281
struct Base { // BAD: no virtual destructor
4282-
virtual f();
4282+
virtual void f();
42834283
};
42844284

42854285
struct D : Base {

0 commit comments

Comments
 (0)