From 239b3ab10b460da34c490a7e06a21c984e21ffb6 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 26 Nov 2021 20:21:12 +0000 Subject: Enable all Jason Turner recommended warnings --- lib/cache.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/cache.h') 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 class Cache { public: using Ptr = std::shared_ptr; + + virtual ~Cache() = default; + [[nodiscard]] Ptr get(const std::string & key) { -- cgit v1.2.3