aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-03-01 10:28:48 +1100
committerNeil <nyamatongwe@gmail.com>2018-03-01 10:28:48 +1100
commit43cf52deec62e117f7893176e48a1b230c1af7f5 (patch)
tree6d67d442a4780bc53954ad23480034b9adf9ba68 /src/Editor.h
parent949edbb7f0d40f1e71750ecfcf0521562057b9d3 (diff)
downloadscintilla-mirror-43cf52deec62e117f7893176e48a1b230c1af7f5.tar.gz
Mark pointer argument as const as not written to.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h
index af7586934..44255016a 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -550,7 +550,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
bool PositionIsHotspot(Sci::Position position) const;
bool PointIsHotspot(Point pt);
- void SetHotSpotRange(Point *pt);
+ void SetHotSpotRange(const Point *pt);
Range GetHotSpotRange() const override;
void SetHoverIndicatorPosition(Sci::Position position);
void SetHoverIndicatorPoint(Point pt);