aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CallTip.cxx
diff options
context:
space:
mode:
authorZufu Liu <unknown>2022-03-04 08:20:05 +1100
committerZufu Liu <unknown>2022-03-04 08:20:05 +1100
commitf3e4f3579a6c9ad620cf00ad951cc97cd59be365 (patch)
treea7d1229e4d606351c44919383847b6f7a8859a65 /src/CallTip.cxx
parent66a542ff4f184ef10990c2dbaa0877cfe3a493bc (diff)
downloadscintilla-mirror-f3e4f3579a6c9ad620cf00ad951cc97cd59be365.tar.gz
Feature [feature-requests:#1432] Simplify CallTip::SetForeBack with pass by value.
Diffstat (limited to 'src/CallTip.cxx')
-rw-r--r--src/CallTip.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CallTip.cxx b/src/CallTip.cxx
index 0596214bf..4742f66e4 100644
--- a/src/CallTip.cxx
+++ b/src/CallTip.cxx
@@ -340,7 +340,7 @@ bool CallTip::UseStyleCallTip() const noexcept {
// It might be better to have two access functions for this and to use
// them for all settings of colours.
-void CallTip::SetForeBack(const ColourRGBA &fore, const ColourRGBA &back) noexcept {
+void CallTip::SetForeBack(ColourRGBA fore, ColourRGBA back) noexcept {
colourBG = back;
colourUnSel = fore;
}