summaryrefslogtreecommitdiff
path: root/core/fpdfapi/font/cpdf_cmap.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-09-13 17:45:05 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-09-13 17:45:05 +0000
commit882ed81dec7afc5bc106f965af34f1e59407fd95 (patch)
tree9645fb4a5c6630d58a4cdfdb9ec3aacca8b625ef /core/fpdfapi/font/cpdf_cmap.h
parenta5d7ad3aa8feb08a14b5cca173d673054c1ade23 (diff)
downloadpdfium-882ed81dec7afc5bc106f965af34f1e59407fd95.tar.xz
Make things more const-y
Follow up to https://pdfium-review.googlesource.com/c/pdfium/+/42350 to use const more in the changed code. BUG=chromium:881678 Change-Id: I7a88862952c9ba25ffa89c2827e1de322f3b5c33 Reviewed-on: https://pdfium-review.googlesource.com/42370 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fpdfapi/font/cpdf_cmap.h')
-rw-r--r--core/fpdfapi/font/cpdf_cmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/font/cpdf_cmap.h b/core/fpdfapi/font/cpdf_cmap.h
index 68ad26cfa3..5526293685 100644
--- a/core/fpdfapi/font/cpdf_cmap.h
+++ b/core/fpdfapi/font/cpdf_cmap.h
@@ -66,7 +66,7 @@ class CPDF_CMap final : public Retainable {
void SetVertical(bool vert) { m_bVertical = vert; }
void SetCodingScheme(CodingScheme scheme) { m_CodingScheme = scheme; }
- const std::vector<CodeRange>& GetMixedFourByteLeadingRanges() {
+ const std::vector<CodeRange>& GetMixedFourByteLeadingRanges() const {
return m_MixedFourByteLeadingRanges;
}
void AppendMixedFourByteLeadingRanges(const CodeRange& range) {