From c896b7994fd83b5a4280801fe08803172ebea6a5 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 20 Apr 2018 12:52:30 +1000 Subject: Backport: Mark pointer to constant parameter as const. Backport of changeset 6721:33bf16396488. --- src/EditView.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/EditView.cxx') diff --git a/src/EditView.cxx b/src/EditView.cxx index ec7f8d4be..5b50e7732 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -2190,7 +2190,7 @@ static ColourDesired InvertedLight(ColourDesired orig) { return ColourDesired(std::min(r, 0xffu), std::min(g, 0xffu), std::min(b, 0xffu)); } -Sci::Position EditView::FormatRange(bool draw, Sci_RangeToFormat *pfr, Surface *surface, Surface *surfaceMeasure, +Sci::Position EditView::FormatRange(bool draw, const Sci_RangeToFormat *pfr, Surface *surface, Surface *surfaceMeasure, const EditModel &model, const ViewStyle &vs) { // Can't use measurements cached for screen posCache.Clear(); -- cgit v1.2.3