summaryrefslogtreecommitdiff
path: root/lib/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cache.h')
-rw-r--r--lib/cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/cache.h b/lib/cache.h
index 48b9c55..2a6e3e5 100644
--- a/lib/cache.h
+++ b/lib/cache.h
@@ -7,6 +7,9 @@
template<typename Obj> class Cache {
public:
using Ptr = std::shared_ptr<Obj>;
+
+ virtual ~Cache() = default;
+
[[nodiscard]] Ptr
get(const std::string & key)
{