diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-11-26 21:07:44 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-11-26 21:07:44 +0100 |
commit | 313106d5491c7c6279f3c962348462ca04cd2e0e (patch) | |
tree | dfa2c9ebe97279fcdfa365cd17ec74691b94d5f9 /src/nix | |
parent | 425991883acafdaf287f9c60b584a49705542642 (diff) |
Fix clang warnings
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/command.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nix/command.hh b/src/nix/command.hh index 26c15e646..2db22dba2 100644 --- a/src/nix/command.hh +++ b/src/nix/command.hh @@ -16,6 +16,7 @@ struct Pos; run() method. */ struct Command : virtual Args { + virtual ~Command() { } virtual std::string name() = 0; virtual void prepare() { }; virtual void run() = 0; @@ -58,6 +59,8 @@ typedef std::vector<Buildable> Buildables; struct Installable { + virtual ~Installable() { } + virtual std::string what() = 0; virtual Buildables toBuildables() |