aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-07-03 14:50:07 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-07-03 14:50:07 +0200
commit6f8fd3a3f22de24223bba05635aaa62107d92767 (patch)
tree1551ab17d31b694cc7cdca4f22527a7598e36e83 /src/libfetchers
parentdfaad374ffa67d289e5eade1cadd9b24c9800ff1 (diff)
Shut up a clang warning
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,