Skip to content

Do not delete a polymorphic object without a virtual destructor #46

@alf45tar

Description

@alf45tar

May I suggest to add the following virtual destructor

virtual ~ButtonConfig() = default;

in order to avoid the following warning/error https://wiki.sei.cmu.edu/confluence/display/cplusplus/OOP52-CPP.+Do+not+delete+a+polymorphic+object+without+a+virtual+destructor ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions