C.130: drop a destructor in the D class (#1855)

To follow the Rule of Zero.
pull/1859/head
oleksandrkozlov 4 years ago committed by GitHub
parent 620cf6278e
commit b6d7ab64ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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<D*> clone() const override
{
return new D{*this};

Loading…
Cancel
Save