From 5a72039e1a39c200b50f134e4917d216ea68fb48 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 16 Jul 2020 08:03:19 +1000 Subject: Add some const, constexpr. --- src/Document.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Document.cxx') diff --git a/src/Document.cxx b/src/Document.cxx index 95792fa1f..07ed604fd 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -2399,7 +2399,7 @@ StyledText Document::EOLAnnotationStyledText(Sci::Line line) const noexcept { void Document::EOLAnnotationSetText(Sci::Line line, const char *text) { if (line >= 0 && line < LinesTotal()) { EOLAnnotations()->SetText(line, text); - DocModification mh(SC_MOD_CHANGEEOLANNOTATION, LineStart(line), + const DocModification mh(SC_MOD_CHANGEEOLANNOTATION, LineStart(line), 0, 0, 0, line); NotifyModified(mh); } -- cgit v1.2.3