forked from Mirrors/privacore-open-source-search-engine
Synonyms::addStripped() const
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user