diff options
author | Neil <nyamatongwe@gmail.com> | 2016-08-20 14:49:15 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2016-08-20 14:49:15 +1000 |
commit | 2d5cfce5a832cbdf57889dff848be4e16c5b1781 (patch) | |
tree | fb07c53a8585ac4c8381390ab4bf7cce342bfd91 /src/CharClassify.cxx | |
parent | 0d98e9304eae8f4deb3ae2e798b1423388b86407 (diff) | |
download | scintilla-mirror-2d5cfce5a832cbdf57889dff848be4e16c5b1781.tar.gz |
Make some methods const where reasonable.
Diffstat (limited to 'src/CharClassify.cxx')
-rw-r--r-- | src/CharClassify.cxx | 2 |
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; |