aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CharClassify.cxx
diff options
context:
space:
mode:
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;