Resolves the following technical debt issue:

return type 'const CharType' (aka 'const T') is 'const'-qualified at the
top level, which may reduce code readability without improving const
correctness (3 more occurrences)

PiperOrigin-RevId: 501661122
Change-Id: I45486b148755ede2f4459137822a58a1106785ec
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/103251
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Andrew Weintraub <asweintraub@google.com>
diff --git a/core/fxcrt/string_view_template.h b/core/fxcrt/string_view_template.h
index d98a124..168e3eb 100644
--- a/core/fxcrt/string_view_template.h
+++ b/core/fxcrt/string_view_template.h
@@ -181,7 +181,7 @@
     return !m_Span.empty() ? m_Span[m_Span.size() - 1] : 0;
   }
 
-  const CharType CharAt(const size_t index) const {
+  CharType CharAt(const size_t index) const {
     return static_cast<CharType>(m_Span[index]);
   }