diff options
Diffstat (limited to 'core/fxcrt/widestring.h')
-rw-r--r-- | core/fxcrt/widestring.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/fxcrt/widestring.h b/core/fxcrt/widestring.h index 728ab35090..30a423d9aa 100644 --- a/core/fxcrt/widestring.h +++ b/core/fxcrt/widestring.h @@ -169,9 +169,8 @@ class WideString { int GetInteger() const; float GetFloat() const; - pdfium::Optional<size_t> Find(const WideStringView& pSub, - size_t start = 0) const; - pdfium::Optional<size_t> Find(wchar_t ch, size_t start = 0) const; + Optional<size_t> Find(const WideStringView& pSub, size_t start = 0) const; + Optional<size_t> Find(wchar_t ch, size_t start = 0) const; bool Contains(const WideStringView& lpszSub, size_t start = 0) const { return Find(lpszSub, start).has_value(); |