Closed Flamefire closed 5 months ago
ucasemap_utf8ToTitle uses a non-const casemap hence reusing the existing one isn't threadsafe. Add constraints to raii_casemap::convert on the constness of Func and create a temporary casemap.
ucasemap_utf8ToTitle
raii_casemap::convert
Func
Fixes #225
ucasemap_utf8ToTitle
uses a non-const casemap hence reusing the existing one isn't threadsafe. Add constraints toraii_casemap::convert
on the constness ofFunc
and create a temporary casemap.Fixes #225