From 3b27764005873fe9f7e9356ed1f7f0e092cf6136 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 1 Mar 2018 10:28:48 +1100 Subject: Backport: Mark pointer argument as const as not written to. Backport of changeset 6468:9ed7929c7900. --- src/Editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.h') 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); -- cgit v1.2.3