From db9bab2708d8a44067156da686dbaf7604f4bc47 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Sun, 10 Mar 2024 12:56:07 -0700 Subject: [PATCH] `Matcher`: Add virtual destructor --- src/nix/profile.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nix/profile.cc b/src/nix/profile.cc index c0f80579419..a5a40e4f66c 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; };