diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 986f3d7..ad747ff 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -7144,6 +7144,7 @@ A class with a virtual function is usually (and in general) used via a pointer t // bad: derived from a class without a virtual destructor struct D : B { string s {"default"}; + // ... }; void use()