From ad30d9ee161e030880f6f0e03022da1e3ab41549 Mon Sep 17 00:00:00 2001 From: Bjarne Stroustrup Date: Sun, 8 Dec 2019 17:36:43 -0500 Subject: [PATCH] Update CppCoreGuidelines.md Clarified the enforcement of C.121 according to #1368 --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 1214b82..91d13a2 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -6926,7 +6926,7 @@ Give `Goof` a virtual destructor and all is well. ##### Enforcement -* Warn on any class that contains data members and also has an overridable (non-`final`) virtual function. +* Warn on any class that contains data members and also has an overridable (non-`final`) virtual function tht wasn't inherited from a base class. ### C.122: Use abstract classes as interfaces when complete separation of interface and implementation is needed