Skip to content

Commit

Permalink
Matcher: Add virtual destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
9999years committed Mar 10, 2024
1 parent 70e93c1 commit db9bab2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nix/profile.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit db9bab2

Please sign in to comment.