From 1523de1d2127f9bc8090e10a1ab1d0bce2af3c03 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 20 Apr 2018 12:23:28 +1000 Subject: Make reference argument const as not altered. --- src/CallTip.cxx | 2 +- src/CallTip.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/CallTip.cxx b/src/CallTip.cxx index 7b322afeb..07188929c 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -254,7 +254,7 @@ void CallTip::MouseClick(Point pt) { PRectangle CallTip::CallTipStart(Sci::Position pos, Point pt, int textHeight, const char *defn, const char *faceName, int size, int codePage_, int characterSet, - int technology, Window &wParent) { + int technology, const Window &wParent) { clickPlace = 0; val = defn; codePage = codePage_; diff --git a/src/CallTip.h b/src/CallTip.h index cb5d2c12c..9c00a777d 100644 --- a/src/CallTip.h +++ b/src/CallTip.h @@ -63,7 +63,7 @@ public: /// Setup the calltip and return a rectangle of the area required. PRectangle CallTipStart(Sci::Position pos, Point pt, int textHeight, const char *defn, const char *faceName, int size, int codePage_, - int characterSet, int technology, Window &wParent); + int characterSet, int technology, const Window &wParent); void CallTipCancel(); -- cgit v1.2.3