mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-17 03:36:32 +01:00
Fix crash on Linux startup since commit f6e5696
This commit is contained in:
@@ -153,12 +153,12 @@ CommandItem::CommandItem(const CommandID &name_,
|
||||
CommandItem::~CommandItem() {}
|
||||
|
||||
CommandGroupItem::CommandGroupItem(const wxString &name_,
|
||||
std::initializer_list< ComponentInterfaceSymbol > items_,
|
||||
std::vector< ComponentInterfaceSymbol > items_,
|
||||
CommandFunctorPointer callback_,
|
||||
CommandFlag flags_,
|
||||
bool isEffect_,
|
||||
CommandHandlerFinder finder_)
|
||||
: SingleItem{ name_ }, items{ items_ }
|
||||
: SingleItem{ name_ }, items{ std::move(items_) }
|
||||
, finder{ finder_ }, callback{ callback_ }
|
||||
, flags{ flags_ }, isEffect{ isEffect_ }
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user