Shut up some warnings

(cherry picked from commit 99e8e58f2de9941353b47ed14fbe4ed76d635519)
(cherry picked from commit 3a022d45993b6fa8c7bf03517a3a3d1a2ab15f4a)
This commit is contained in:
Eelco Dolstra 2019-09-20 13:48:53 +02:00
parent 4d83eb6206
commit 9f53bc33e7
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 4 additions and 0 deletions

View file

@ -91,6 +91,8 @@ class Store;
struct Downloader struct Downloader
{ {
virtual ~Downloader() { }
/* Enqueue a download request, returning a future to the result of /* Enqueue a download request, returning a future to the result of
the download. The future may throw a DownloadError the download. The future may throw a DownloadError
exception. */ exception. */

View file

@ -19,6 +19,8 @@ public:
uint64_t narOffset = 0; // regular files only uint64_t narOffset = 0; // regular files only
}; };
virtual ~FSAccessor() { }
virtual Stat stat(const Path & path) = 0; virtual Stat stat(const Path & path) = 0;
virtual StringSet readDirectory(const Path & path) = 0; virtual StringSet readDirectory(const Path & path) = 0;