about summary refs log tree commit diff
path: root/src/libstore/download.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/download.hh')
-rw-r--r--src/libstore/download.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/download.hh b/src/libstore/download.hh
index c68381846948..68565bf462a7 100644
--- a/src/libstore/download.hh
+++ b/src/libstore/download.hh
@@ -91,6 +91,8 @@ class Store;
 
 struct Downloader
 {
+    virtual ~Downloader() { }
+
     /* Enqueue a download request, returning a future to the result of
        the download. The future may throw a DownloadError
        exception. */