aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CharClassify.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2016-08-20 14:49:15 +1000
committerNeil <nyamatongwe@gmail.com>2016-08-20 14:49:15 +1000
commit2d5cfce5a832cbdf57889dff848be4e16c5b1781 (patch)
treefb07c53a8585ac4c8381390ab4bf7cce342bfd91 /src/CharClassify.cxx
parent0d98e9304eae8f4deb3ae2e798b1423388b86407 (diff)
downloadscintilla-mirror-2d5cfce5a832cbdf57889dff848be4e16c5b1781.tar.gz
Make some methods const where reasonable.
Diffstat (limited to 'src/CharClassify.cxx')
-rw-r--r--src/CharClassify.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CharClassify.cxx b/src/CharClassify.cxx
index 595b0da30..8678e6d64 100644
--- a/src/CharClassify.cxx
+++ b/src/CharClassify.cxx
@@ -44,7 +44,7 @@ void CharClassify::SetCharClasses(const unsigned char *chars, cc newCharClass) {
}
}
-int CharClassify::GetCharsOfClass(cc characterClass, unsigned char *buffer) {
+int CharClassify::GetCharsOfClass(cc characterClass, unsigned char *buffer) const {
// Get characters belonging to the given char class; return the number
// of characters (if the buffer is NULL, don't write to it).
int count = 0;