diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 143f8c5..4b14ebf 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -4468,7 +4468,7 @@ Destructor rules: * [C.31: All resources acquired by a class must be released by the class's destructor](#Rc-dtor-release) * [C.32: If a class has a raw pointer (`T*`) or reference (`T&`), consider whether it might be owning](#Rc-dtor-ptr) * [C.33: If a class has an owning pointer member, define or `=delete` a destructor](#Rc-dtor-ptr2) -* [C.35: A base class with a virtual function needs a virtual destructor](#Rc-dtor-virtual) +* [C.35: A base class destructor should be either public and virtual, or protected and nonvirtual](#Rc-dtor-virtual) * [C.36: A destructor may not fail](#Rc-dtor-fail) * [C.37: Make destructors `noexcept`](#Rc-dtor-noexcept)