Added the mutex for the ci_search function
This commit is contained in:
parent
9b0d036846
commit
2303416fa5
1 changed files with 1 additions and 0 deletions
|
@ -517,6 +517,7 @@ std::string strftime(const std::string& format, const std::tm* time)
|
|||
|
||||
bool ci_search(const std::string& s1, const std::string& s2)
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(get_mutex());
|
||||
const std::locale& locale = get_manager().get_locale();
|
||||
|
||||
std::string ls1 = bl::to_lower(s1, locale);
|
||||
|
|
Loading…
Add table
Reference in a new issue