From 44da106995e3b3ca4068f584c16f59d8fced4e69 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 24 May 2013 00:04:54 +1000 Subject: Made methods const where they can be and are logically const as well. --- src/RESearch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/RESearch.h') diff --git a/src/RESearch.h b/src/RESearch.h index 1f30ffb6d..702259d52 100644 --- a/src/RESearch.h +++ b/src/RESearch.h @@ -61,7 +61,7 @@ private: unsigned char bittab[BITBLK]; /* bit table for CCL pre-set bits */ int failure; CharClassify *charClass; - bool iswordc(unsigned char x) { + bool iswordc(unsigned char x) const { return charClass->IsWord(x); } }; -- cgit v1.2.3