aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/CallTip.cxx2
-rw-r--r--src/CallTip.h2
2 files changed, 2 insertions, 2 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;
}
diff --git a/src/CallTip.h b/src/CallTip.h
index 3f0e4f801..f8d294651 100644
--- a/src/CallTip.h
+++ b/src/CallTip.h
@@ -89,7 +89,7 @@ public:
bool UseStyleCallTip() const noexcept;
// Modify foreground and background colours
- void SetForeBack(const ColourRGBA &fore, const ColourRGBA &back) noexcept;
+ void SetForeBack(ColourRGBA fore, ColourRGBA back) noexcept;
};
}