Codechange: use std::string to store script GUI's break string

This commit is contained in:
Rubidium
2023-05-06 12:49:28 +02:00
committed by rubidium42
parent 48825e1a8e
commit 20ff0bccd7
3 changed files with 13 additions and 3 deletions

View File

@@ -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.
*/