Codechange: Replaced SmallVector::Reset() with std::vector::clear() + shrink_to_fit()
This commit is contained in:
@@ -28,7 +28,8 @@ static const WChar STATE_QUOTE2 = '"';
|
||||
*/
|
||||
void StringFilter::SetFilterTerm(const char *str)
|
||||
{
|
||||
this->word_index.Reset();
|
||||
this->word_index.clear();
|
||||
this->word_index.shrink_to_fit();
|
||||
this->word_matches = 0;
|
||||
free(this->filter_buffer);
|
||||
|
||||
|
Reference in New Issue
Block a user