diff --git a/libraries/lib-menus/MenuRegistry.cpp b/libraries/lib-menus/MenuRegistry.cpp index 76094db1e77c..656819be62f3 100644 --- a/libraries/lib-menus/MenuRegistry.cpp +++ b/libraries/lib-menus/MenuRegistry.cpp @@ -165,8 +165,6 @@ auto MenuItems::GetOrdering() const -> Ordering { } auto MenuItems::GetProperties() const -> Properties { return Inline; } -ItemProperties::~ItemProperties() {} - CommandHandlerFinder FinderScope::sFinder = [](AudacityProject &project) -> CommandHandlerObject & { // If this default finder function is reached, then FinderScope should diff --git a/libraries/lib-menus/MenuRegistry.h b/libraries/lib-menus/MenuRegistry.h index 45e382674c7c..240c5ea20e03 100644 --- a/libraries/lib-menus/MenuRegistry.h +++ b/libraries/lib-menus/MenuRegistry.h @@ -111,7 +111,7 @@ namespace MenuRegistry { Whole, Extension, }; - virtual ~ItemProperties(); + virtual ~ItemProperties() = default; virtual Properties GetProperties() const = 0; };