diff options
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() |