summaryrefslogtreecommitdiff
path: root/src/regex_filter.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <andrzej@rybczak.net>2018-04-09 11:36:39 +0200
committerAndrzej Rybczak <andrzej@rybczak.net>2018-04-09 11:36:39 +0200
commite3e35dcbdd086f113d838b2d9905d93a9f6592d9 (patch)
tree3b2079d526ff50a3b28fe3b66d9a293752b7ca98 /src/regex_filter.h
parent7a75756ca30f9627f6e3cfca081b108f1976d4a4 (diff)
Fix compilation with ICU >= 61, part 2
Diffstat (limited to 'src/regex_filter.h')
-rw-r--r--src/regex_filter.h2
1 files changed, 1 insertions, 1 deletions
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<CharT> &s,
if (ignore_diacritics)
{
auto us = icu::UnicodeString::fromUTF8(
- StringPiece(convertString<char, CharT>::apply(s)));
+ icu::StringPiece(convertString<char, CharT>::apply(s)));
StripDiacritics::convert(us);
return boost::u32regex_search(us, rx);
}