1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 00:59:43 +02:00

Remove unused (and unintended) overload of Items

This commit is contained in:
Paul Licameli 2018-10-29 13:32:44 -04:00
parent 76166135d4
commit 87592cc89b

View File

@ -568,10 +568,6 @@ namespace MenuTable {
inline BaseItemPtr Items( Args&&... args )
{ return std::make_unique<GroupItem>(
std::forward<Args>(args)... ); }
inline BaseItemPtr Items(
const wxString &title, BaseItemPtrs &&items )
{ (void)title; // Compiler food
return std::make_unique<GroupItem>( std::move( items ) ); }
// Menu items can be constructed two ways, as for group items
// Items will appear in a main toolbar menu or in a sub-menu