tools/test: add missing virtual destructor
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I4eb80d77e3bea4a5b3d6e88c5eac1a19db027135
diff --git a/tools/test/tools_pci_unittest.cpp b/tools/test/tools_pci_unittest.cpp
index 4c4f76a..4a45468 100644
--- a/tools/test/tools_pci_unittest.cpp
+++ b/tools/test/tools_pci_unittest.cpp
@@ -66,6 +66,7 @@
class Device
{
public:
+ virtual ~Device() = default;
virtual const struct pci_id_match* getMatch() const = 0;
virtual struct pci_device getDevice() const = 0;
virtual void expectSetup(PciAccessMock& pciMock,