Synonyms::addStripped() const

This commit is contained in:
Ivan Skytte Jørgensen
2016-05-23 15:55:00 +02:00
parent 9b410e5e5b
commit 33dfeeaa0b
2 changed files with 2 additions and 2 deletions

@ -498,7 +498,7 @@ bool Synonyms::addAmpPhrase ( int32_t wordNum , HashTableX *dt ) {
}
// return false and set g_errno on error
bool Synonyms::addStripped ( char *w , int32_t wlen , HashTableX *dt ) {
bool Synonyms::addStripped ( const char *w , int32_t wlen , HashTableX *dt ) {
// avoid overflow
if ( wlen > 200 ) return true;

@ -43,7 +43,7 @@ class Synonyms {
bool addWithoutApostrophe ( int32_t wordNum , class HashTableX *dt ) ;
bool addAmpPhrase ( int32_t wordNum , class HashTableX *dt ) ;
bool addStripped ( char *w,int32_t wlen, class HashTableX *dt ) ;
bool addStripped ( const char *w,int32_t wlen, class HashTableX *dt ) ;
const class Words *m_words;