diff options
Diffstat (limited to 'include/o3tl/lru_map.hxx')
-rw-r--r-- | include/o3tl/lru_map.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/o3tl/lru_map.hxx b/include/o3tl/lru_map.hxx index 4eb05bd97a43..f2369e45030a 100644 --- a/include/o3tl/lru_map.hxx +++ b/include/o3tl/lru_map.hxx @@ -125,7 +125,7 @@ public: const list_const_iterator_t end() const { - return mLruList.end(); + return mLruList.cend(); } size_t size() const @@ -135,6 +135,7 @@ public: void clear() { + mLruMap.clear(); mLruList.clear(); } }; |