diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-08-15 11:29:16 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-15 15:54:21 +0000 |
commit | 28549c91b9fb7bdc637466218348b0759e251456 (patch) | |
tree | 7d3b26929d625a61b55afaecd9aa874b9c9f10a4 /core/fxcrt/cfx_chariter.h | |
parent | 29fd935aab369d210c2a6cc2682e8aaac56d4d36 (diff) | |
download | pdfium-28549c91b9fb7bdc637466218348b0759e251456.tar.xz |
Make GetChar & Clone const for IFX_CharIter
BUG=pdfium:864
Change-Id: Iab03e1977c859f150452825650afed3520024cca
Reviewed-on: https://pdfium-review.googlesource.com/11030
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxcrt/cfx_chariter.h')
-rw-r--r-- | core/fxcrt/cfx_chariter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcrt/cfx_chariter.h b/core/fxcrt/cfx_chariter.h index 50fdde879f..523ea5a75b 100644 --- a/core/fxcrt/cfx_chariter.h +++ b/core/fxcrt/cfx_chariter.h @@ -19,11 +19,11 @@ class CFX_CharIter : public IFX_CharIter { ~CFX_CharIter() override; bool Next(bool bPrev = false) override; - wchar_t GetChar() override; + wchar_t GetChar() const override; void SetAt(int32_t nIndex) override; int32_t GetAt() const override; bool IsEOF(bool bTail = true) const override; - std::unique_ptr<IFX_CharIter> Clone() override; + std::unique_ptr<IFX_CharIter> Clone() const override; private: const CFX_WideString& m_wsText; |