aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-07-03 14:11:38 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-07-03 14:11:38 +0000
commitdbffd309fed95d306135617fdc18ce4cf6109025 (patch)
tree97f8be0fa860f2c725c6ee5555a324f14d9889b0 /src/libfetchers
parent1be279af2622b196cc4630c48254adc96071c7e9 (diff)
parentc3c7aedbb5ac869b7c454e90683f77b9c527a75a (diff)
Merge branch 'master' of github.com:NixOS/nix into hash-always-has-type
Diffstat (limited to 'src/libfetchers')
-rw-r--r--src/libfetchers/cache.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libfetchers/cache.hh b/src/libfetchers/cache.hh
index d76ab1233..3db4f081c 100644
--- a/src/libfetchers/cache.hh
+++ b/src/libfetchers/cache.hh
@@ -6,6 +6,8 @@ namespace nix::fetchers {
struct Cache
{
+ virtual ~Cache() { }
+
virtual void add(
ref<Store> store,
const Attrs & inAttrs,