aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorJustin Dailey <unknown>2017-07-09 10:25:15 +1000
committerJustin Dailey <unknown>2017-07-09 10:25:15 +1000
commit761803cb377f059915ccb6e53d10f2839277ccee (patch)
tree58ce7875f01fb055de9209fe23ff31b2a039ea74 /include
parent735b519ec1b9dc7557c94dd2a6831c361708669f (diff)
downloadscintilla-mirror-761803cb377f059915ccb6e53d10f2839277ccee.tar.gz
Bug [#1955]. The data parameter to ILoader::AddData made const.
Diffstat (limited to 'include')
-rw-r--r--include/ILexer.h2
1 files changed, 1 insertions, 1 deletions
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;
};