[Libreoffice-commits] core.git: include/o3tl
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Fri Aug 23 09:09:19 UTC 2019
include/o3tl/lru_map.hxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit b8f42b202f7afc882b77b66c4b24c086950f10fc
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Fri Aug 23 09:46:53 2019 +0200
Commit: Noel Grandin <noel.grandin at 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.grandin at 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();
}
More information about the Libreoffice-commits
mailing list