summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-11-14 14:47:15 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2014-11-14 14:47:15 +0900
commit34b12a170e1b3264fa46a8996cc67e12e2fea947 (patch)
treeb573520af3839520a36c70c3ba6303db5e2f7990 /sw
parentf9a161f89a00f2f706ec85b66ab994d1dbea89df (diff)
Mark as const
Change-Id: I3236bbbdddf819afb11d8f80dd80c92a04281bf9
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/access/accmap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx
index c4071145c644..6a153ff5db53 100644
--- a/sw/source/core/access/accmap.cxx
+++ b/sw/source/core/access/accmap.cxx
@@ -245,8 +245,8 @@ public:
iterator begin() { return maMap.begin(); }
iterator end() { return maMap.end(); }
- const_iterator cbegin() { return maMap.cbegin(); }
- const_iterator cend() { return maMap.cend(); }
+ const_iterator cbegin() const { return maMap.cbegin(); }
+ const_iterator cend() const { return maMap.cend(); }
bool empty() const { return maMap.empty(); }
iterator find(const key_type& key) { return maMap.find(key); }
std::pair<iterator,bool> insert(const value_type& value ) { return maMap.insert(value); }