From 534d196395a1ee9f6667d032dbd9ae02e8eb0b9d Mon Sep 17 00:00:00 2001 From: Justin Dailey Date: Sun, 9 Jul 2017 10:25:15 +1000 Subject: Backport: Bug [#1955]. The data parameter to ILoader::AddData made const. Backport of changeset 6340:52f12c3eebcd. --- include/ILexer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/ILexer.h b/include/ILexer.h index f01029178..882b52976 100644 --- a/include/ILexer.h +++ b/include/ILexer.h @@ -89,7 +89,7 @@ class ILoader { public: virtual int SCI_METHOD Release() = 0; // Returns a status code from SC_STATUS_* - virtual int SCI_METHOD AddData(char *data, Sci_Position length) = 0; + virtual int SCI_METHOD AddData(const char *data, Sci_Position length) = 0; virtual void * SCI_METHOD ConvertToDocument() = 0; }; -- cgit v1.2.3