Skip to content

Clean up defaulted child class destructors #73

Description

@ninotarantino

We have a lot of code like the following

class Parent {
public:
    virtual ~Parent() = default;
};

class Child  : public Parent {
public:
    ~Child() override = default;
};

Since the parent's destructor is already marked virtual, we don't need to provide any child destructors unless we actually need to do something in the destructor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions