summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-03-12 01:11:20 +0100
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-03-12 01:11:20 +0100
commitab71569a7c1e1a262bfbfac998cf4acb092ed383 (patch)
treead512404872df1a96c792f167d1d8b0e8eca7545 /include
parentfe4da4c2ec02159afe6206db78920e8fde7691d0 (diff)
fix build failures because of diff against master
Change-Id: Iefe4683f456750b53c96e1634d7930f4b042e573
Diffstat (limited to 'include')
-rw-r--r--include/o3tl/lru_map.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/o3tl/lru_map.hxx b/include/o3tl/lru_map.hxx
index 2f41521795fc..53b5d5c8d004 100644
--- a/include/o3tl/lru_map.hxx
+++ b/include/o3tl/lru_map.hxx
@@ -132,6 +132,12 @@ public:
{
return mLruList.size();
}
+
+ void clear()
+ {
+ mLruMap.clear();
+ mLruList.clear();
+ }
};
}