include/o3tl/lru_map.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit b8f42b202f7afc882b77b66c4b24c086950f10fc Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Fri Aug 23 09:46:53 2019 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Aug 23 11:08:24 2019 +0200 loplugin:returnconstval in o3tl Change-Id: Ib36382243552cd80dab431741f45dc767beccf59 Reviewed-on: https://gerrit.libreoffice.org/77993 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/include/o3tl/lru_map.hxx b/include/o3tl/lru_map.hxx index 54378a319ece..e822fde0294c 100644 --- a/include/o3tl/lru_map.hxx +++ b/include/o3tl/lru_map.hxx @@ -122,7 +122,7 @@ public: } } - const list_const_iterator_t find(const Key& key) + list_const_iterator_t find(const Key& key) { const map_iterator_t i = mLruMap.find(key); if (i == mLruMap.cend()) // can't find entry for the key @@ -155,12 +155,12 @@ public: } } - const list_const_iterator_t begin() const + list_const_iterator_t begin() const { return mLruList.cbegin(); } - const list_const_iterator_t end() const + list_const_iterator_t end() const { return mLruList.cend(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits