From 373765b82799df32c2b7cf1c92d431623e70ffd4 Mon Sep 17 00:00:00 2001 From: hsutter Date: Wed, 16 Jan 2019 16:07:40 -0800 Subject: [PATCH] Closes #1317 Fixed section heading to match item --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)