summaryrefslogtreecommitdiff
path: root/core/fxcrt/ifx_chariter.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-08-15 11:29:16 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-15 15:54:21 +0000
commit28549c91b9fb7bdc637466218348b0759e251456 (patch)
tree7d3b26929d625a61b55afaecd9aa874b9c9f10a4 /core/fxcrt/ifx_chariter.h
parent29fd935aab369d210c2a6cc2682e8aaac56d4d36 (diff)
downloadpdfium-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/ifx_chariter.h')
-rw-r--r--core/fxcrt/ifx_chariter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcrt/ifx_chariter.h b/core/fxcrt/ifx_chariter.h
index b8e240953a..e82cbbd040 100644
--- a/core/fxcrt/ifx_chariter.h
+++ b/core/fxcrt/ifx_chariter.h
@@ -16,11 +16,11 @@ class IFX_CharIter {
virtual ~IFX_CharIter() {}
virtual bool Next(bool bPrev = false) = 0;
- virtual wchar_t GetChar() = 0;
+ virtual wchar_t GetChar() const = 0;
virtual void SetAt(int32_t nIndex) = 0;
virtual int32_t GetAt() const = 0;
virtual bool IsEOF(bool bTail = true) const = 0;
- virtual std::unique_ptr<IFX_CharIter> Clone() = 0;
+ virtual std::unique_ptr<IFX_CharIter> Clone() const = 0;
};
#endif // CORE_FXCRT_IFX_CHARITER_H_