From b6d7ab64adb77fbf4f39e6e8d4aba69aef310887 Mon Sep 17 00:00:00 2001 From: oleksandrkozlov <50600209+oleksandrkozlov@users.noreply.github.com> Date: Thu, 18 Nov 2021 22:08:34 +0100 Subject: [PATCH] C.130: drop a destructor in the D class (#1855) To follow the Rule of Zero. --- CppCoreGuidelines.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 8ba062f..513642c 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -7493,7 +7493,6 @@ Copying a polymorphic class is discouraged due to the slicing problem, see [C.67 class D : public B { public: - ~D() override {}; gsl::owner clone() const override { return new D{*this};