Codechange: use std::string to store script GUI's break string
This commit is contained in:
@@ -83,6 +83,15 @@ void StringFilter::SetFilterTerm(const char *str)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the term to filter on.
|
||||
* @param str Filter term
|
||||
*/
|
||||
void StringFilter::SetFilterTerm(const std::string &str)
|
||||
{
|
||||
this->SetFilterTerm(str.c_str());
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset the matching state to process a new item.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user