diff --git a/src/nix/profile.cc b/src/nix/profile.cc index c0f805794..a5a40e4f6 100644 --- a/src/nix/profile.cc +++ b/src/nix/profile.cc @@ -481,6 +481,7 @@ struct CmdProfileInstall : InstallablesCommand, MixDefaultProfile struct Matcher { + virtual ~Matcher() { } virtual std::string getTitle() = 0; virtual bool matches(const std::string & name, const ProfileElement & element) = 0; };