aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/nar-info-disk-cache.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-11-26 21:07:44 +0100
committerEelco Dolstra <edolstra@gmail.com>2019-11-26 21:07:44 +0100
commit313106d5491c7c6279f3c962348462ca04cd2e0e (patch)
treedfa2c9ebe97279fcdfa365cd17ec74691b94d5f9 /src/libstore/nar-info-disk-cache.hh
parent425991883acafdaf287f9c60b584a49705542642 (diff)
Fix clang warnings
Diffstat (limited to 'src/libstore/nar-info-disk-cache.hh')
-rw-r--r--src/libstore/nar-info-disk-cache.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/nar-info-disk-cache.hh b/src/libstore/nar-info-disk-cache.hh
index 11e6c55ca..285873f7e 100644
--- a/src/libstore/nar-info-disk-cache.hh
+++ b/src/libstore/nar-info-disk-cache.hh
@@ -10,6 +10,8 @@ class NarInfoDiskCache
public:
typedef enum { oValid, oInvalid, oUnknown } Outcome;
+ virtual ~NarInfoDiskCache() { };
+
virtual void createCache(const std::string & uri, const Path & storeDir,
bool wantMassQuery, int priority) = 0;