aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/fetchers/fetchers.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/fetchers/fetchers.hh')
-rw-r--r--src/libstore/fetchers/fetchers.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/fetchers/fetchers.hh b/src/libstore/fetchers/fetchers.hh
index b59b328cc..1f3be8c2b 100644
--- a/src/libstore/fetchers/fetchers.hh
+++ b/src/libstore/fetchers/fetchers.hh
@@ -27,6 +27,8 @@ struct Input : std::enable_shared_from_this<Input>
std::string type;
std::optional<Hash> narHash;
+ virtual ~Input() { }
+
virtual bool operator ==(const Input & other) const { return false; }
virtual bool isDirect() const { return true; }
@@ -63,6 +65,8 @@ struct ParsedURL;
struct InputScheme
{
+ virtual ~InputScheme() { }
+
virtual std::unique_ptr<Input> inputFromURL(const ParsedURL & url) = 0;
};