diff options
Diffstat (limited to 'core/fxcrt/bytestring.h')
-rw-r--r-- | core/fxcrt/bytestring.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/fxcrt/bytestring.h b/core/fxcrt/bytestring.h index 916820656d..70f10dcaba 100644 --- a/core/fxcrt/bytestring.h +++ b/core/fxcrt/bytestring.h @@ -152,10 +152,9 @@ class ByteString { ByteString Left(size_t count) const; ByteString Right(size_t count) const; - pdfium::Optional<size_t> Find(const ByteStringView& lpszSub, - size_t start = 0) const; - pdfium::Optional<size_t> Find(char ch, size_t start = 0) const; - pdfium::Optional<size_t> ReverseFind(char ch) const; + Optional<size_t> Find(const ByteStringView& lpszSub, size_t start = 0) const; + Optional<size_t> Find(char ch, size_t start = 0) const; + Optional<size_t> ReverseFind(char ch) const; bool Contains(const ByteStringView& lpszSub, size_t start = 0) const { return Find(lpszSub, start).has_value(); |