diff options
| author | Neil <nyamatongwe@gmail.com> | 2018-03-01 10:28:48 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2018-03-01 10:28:48 +1100 |
| commit | 3b27764005873fe9f7e9356ed1f7f0e092cf6136 (patch) | |
| tree | 5f004dbda4373af45885bbc9cb673248ba629b64 /src/Editor.h | |
| parent | a7491a3482a92ad65a9a328dcc4390ca74cb43db (diff) | |
| download | scintilla-mirror-3b27764005873fe9f7e9356ed1f7f0e092cf6136.tar.gz | |
Backport: Mark pointer argument as const as not written to.
Backport of changeset 6468:9ed7929c7900.
Diffstat (limited to 'src/Editor.h')
| -rw-r--r-- | src/Editor.h | 2 |
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); |
