aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ILexer.h
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
commit534d196395a1ee9f6667d032dbd9ae02e8eb0b9d (patch)
tree1470ec7f3bd58760993d112d3b4ed4287f42da9e /include/ILexer.h
parent403011f8e0d24df6a257f2d43b431f0fd3b1740f (diff)
downloadscintilla-mirror-534d196395a1ee9f6667d032dbd9ae02e8eb0b9d.tar.gz
Backport: Bug [#1955]. The data parameter to ILoader::AddData made const.
Backport of changeset 6340:52f12c3eebcd.
Diffstat (limited to 'include/ILexer.h')
-rw-r--r--include/ILexer.h2
1 files changed, 1 insertions, 1 deletions
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;
};