diff --git a/src/regex_filter.h b/src/regex_filter.h index 4a173b55..42bbb411 100644 --- a/src/regex_filter.h +++ b/src/regex_filter.h @@ -100,7 +100,7 @@ inline bool search(const std::basic_string &s, if (ignore_diacritics) { auto us = icu::UnicodeString::fromUTF8( - StringPiece(convertString::apply(s))); + icu::StringPiece(convertString::apply(s))); StripDiacritics::convert(us); return boost::u32regex_search(us, rx); }