aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/fs-accessor.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-09-20 13:48:53 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-09-22 21:57:05 +0200
commit3a022d45993b6fa8c7bf03517a3a3d1a2ab15f4a (patch)
tree4955464d37d51c5924ff664459669ab5db399004 /src/libstore/fs-accessor.hh
parentbd79c1f6f6391786772a8a79962abe22f374cca4 (diff)
Shut up some warnings
(cherry picked from commit 99e8e58f2de9941353b47ed14fbe4ed76d635519)
Diffstat (limited to 'src/libstore/fs-accessor.hh')
-rw-r--r--src/libstore/fs-accessor.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/fs-accessor.hh b/src/libstore/fs-accessor.hh
index f703e1d15..64780a6da 100644
--- a/src/libstore/fs-accessor.hh
+++ b/src/libstore/fs-accessor.hh
@@ -19,6 +19,8 @@ public:
uint64_t narOffset = 0; // regular files only
};
+ virtual ~FSAccessor() { }
+
virtual Stat stat(const Path & path) = 0;
virtual StringSet readDirectory(const Path & path) = 0;