diff options
Diffstat (limited to 'src/libutil/lru-cache.hh')
-rw-r--r-- | src/libutil/lru-cache.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libutil/lru-cache.hh b/src/libutil/lru-cache.hh index 4344d6601bc8..35983aa2c918 100644 --- a/src/libutil/lru-cache.hh +++ b/src/libutil/lru-cache.hh @@ -79,6 +79,12 @@ public: { return data.size(); } + + void clear() + { + data.clear(); + lru.clear(); + } }; } |