summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/fxcrt/string_view_template.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/string_view_template.h b/core/fxcrt/string_view_template.h
index 12b422e090..fa33858a68 100644
--- a/core/fxcrt/string_view_template.h
+++ b/core/fxcrt/string_view_template.h
@@ -150,7 +150,7 @@ class StringViewTemplate {
}
pdfium::Optional<size_t> Find(CharType ch) const {
- const UnsignedType* found = reinterpret_cast<const UnsignedType*>(FXSYS_chr(
+ const auto* found = reinterpret_cast<const UnsignedType*>(FXSYS_chr(
reinterpret_cast<const CharType*>(m_Ptr.Get()), ch, m_Length));
return found ? pdfium::Optional<size_t>(found - m_Ptr.Get())