mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Updated some code to use cleaner array initialisation from constant data
This commit is contained in:
parent
7ece1b4135
commit
c2a2d5c734
11 changed files with 41 additions and 70 deletions
|
|
@ -51,7 +51,7 @@ Array<KeyPress> KeyPressMappingSet::getKeyPressesAssignedToCommand (const Comman
|
|||
if (mappings.getUnchecked(i)->commandID == commandID)
|
||||
return mappings.getUnchecked (i)->keypresses;
|
||||
|
||||
return Array<KeyPress>();
|
||||
return {};
|
||||
}
|
||||
|
||||
void KeyPressMappingSet::addKeyPress (const CommandID commandID, const KeyPress& newKeyPress, int insertIndex)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue