diff options
-rw-r--r-- | libadhocutil/cache.h | 1 | ||||
-rw-r--r-- | libadhocutil/nvpParse.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libadhocutil/cache.h b/libadhocutil/cache.h index 14f803d..66b4a7c 100644 --- a/libadhocutil/cache.h +++ b/libadhocutil/cache.h @@ -19,6 +19,7 @@ class DLL_PUBLIC Cacheable { public: typedef const std::shared_ptr<const T> Value; Cacheable(const K & k, time_t validUntil); + virtual ~Cacheable() = default; const K key; const time_t validUntil; diff --git a/libadhocutil/nvpParse.h b/libadhocutil/nvpParse.h index 2a3eba9..ce851a6 100644 --- a/libadhocutil/nvpParse.h +++ b/libadhocutil/nvpParse.h @@ -36,6 +36,7 @@ class NvpParse : public yyFlexLexer { template <typename T> class TargetBase { public: + virtual ~TargetBase() = default; virtual AssignFunc assign(T *) const = 0; }; |