diff options
Diffstat (limited to 'indexlib')
| -rw-r--r-- | indexlib/ifile.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/indexlib/ifile.cpp b/indexlib/ifile.cpp index 8ef5d2c6..43057433 100644 --- a/indexlib/ifile.cpp +++ b/indexlib/ifile.cpp @@ -169,7 +169,7 @@ std::vector<std::string> ifile::break_clean( const char* complete ) const {  	std::sort( words.begin(), words.end() );  	words.erase( std::unique( words.begin(), words.end() ), words.end() );  	words.erase( std::remove_if( words.begin(), words.end(), &ifile::invalid_word ), words.end() ); -	words.erase( std::remove_if( words.begin(), words.end(), std::bind1st( std::mem_fun( &ifile::is_stop_word ), this ) ), words.end() ); +	words.erase( std::remove_if( words.begin(), words.end(), std::bind( std::mem_fn( &ifile::is_stop_word ), this, std::placeholders::_1 ) ), words.end() );  	return words;  } | 
