sw/source/core/access/accmap.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 34b12a170e1b3264fa46a8996cc67e12e2fea947 Author: Takeshi Abe <t...@fixedpoint.jp> Date: Fri Nov 14 14:47:15 2014 +0900 Mark as const Change-Id: I3236bbbdddf819afb11d8f80dd80c92a04281bf9 diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx index c407114..6a153ff 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); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits