1
0
Fork 0
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:
jules 2013-05-22 23:05:53 -06:00
parent 51df5143bf
commit c7506df13f
140 changed files with 757 additions and 756 deletions

View file

@ -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);