From 761803cb377f059915ccb6e53d10f2839277ccee Mon Sep 17 00:00:00 2001 From: Justin Dailey Date: Sun, 9 Jul 2017 10:25:15 +1000 Subject: Bug [#1955]. The data parameter to ILoader::AddData made const. --- 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 5680acb4e..d18b307d1 100644 --- a/include/ILexer.h +++ b/include/ILexer.h @@ -85,7 +85,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