about summary refs log tree commit diff
path: root/src/libstore/download.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-09-20T11·48+0200
committerEelco Dolstra <edolstra@gmail.com>2019-10-09T14·24+0200
commit9f53bc33e7f1d39ec9bce4b5fd9c50763e1d73c3 (patch)
tree4af29d87d1850879316455e85b04b0ffe7794e25 /src/libstore/download.hh
parent4d83eb620625d7079e0bee3c9c89ec0654800593 (diff)
Shut up some warnings
(cherry picked from commit 99e8e58f2de9941353b47ed14fbe4ed76d635519)
(cherry picked from commit 3a022d45993b6fa8c7bf03517a3a3d1a2ab15f4a)
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 c683818469..68565bf462 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. */