aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/nar-info-disk-cache.hh
diff options
context:
space:
mode:
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;