mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-01 03:10:06 +00:00
Changed some pass-by-references to pass-by-value to improve compiler optimisation.
This commit is contained in:
parent
51df5143bf
commit
c7506df13f
140 changed files with 757 additions and 756 deletions
|
|
@ -424,8 +424,8 @@ KeyMappingEditorComponent::~KeyMappingEditorComponent()
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
void KeyMappingEditorComponent::setColours (const Colour& mainBackground,
|
||||
const Colour& textColour)
|
||||
void KeyMappingEditorComponent::setColours (Colour mainBackground,
|
||||
Colour textColour)
|
||||
{
|
||||
setColour (backgroundColourId, mainBackground);
|
||||
setColour (textColourId, textColour);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue