summaryrefslogtreecommitdiff
path: root/indra/llui/llsearchablecontrol.h
diff options
context:
space:
mode:
authorRye Mutt <rye@alchemyviewer.org>2024-08-03 10:10:17 -0400
committerRye Mutt <rye@alchemyviewer.org>2024-08-04 23:11:57 -0400
commitc4e921828a41c0e759ee103c6cfdb2cc40c1a581 (patch)
tree4e26ceeb63a58d1490a976794911c1342cbdd473 /indra/llui/llsearchablecontrol.h
parent874794ea584588457dfde7ef17c447e2a0eb46bb (diff)
Optimization and cleanup of various color finds during draw
Diffstat (limited to 'indra/llui/llsearchablecontrol.h')
-rw-r--r--indra/llui/llsearchablecontrol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llsearchablecontrol.h b/indra/llui/llsearchablecontrol.h
index bccb4858e1..119852b763 100644
--- a/indra/llui/llsearchablecontrol.h
+++ b/indra/llui/llsearchablecontrol.h
@@ -43,7 +43,7 @@ namespace ll
virtual ~SearchableControl()
{ }
- LLColor4 getHighlightColor( ) const
+ const LLColor4& getHighlightColor( ) const
{
static LLUIColor highlight_color = LLUIColorTable::instance().getColor("SearchableControlHighlightColor", LLColor4::red);
return highlight_color.get();