diff --git a/tgs/src/main/cpp/tgs/LruCache.h b/tgs/src/main/cpp/tgs/LruCache.h
index a4420f6..89ca717 100644
--- a/tgs/src/main/cpp/tgs/LruCache.h
+++ b/tgs/src/main/cpp/tgs/LruCache.h
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2015, 2016, 2018 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2016, 2018, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#ifndef LRUCACHE_H
#define LRUCACHE_H
@@ -91,6 +91,12 @@ public:
return result;
}
+ void clear()
+ {
+ _cacheList.clear();
+ _cacheMap.clear();
+ }
+
private:
size_t _maxSize;