Fix leak due to missing virtual destructor

This commit is contained in:
Daniel Smith 2021-06-24 15:43:53 -04:00
parent 4e97cbc2d8
commit 4cfa84cb77
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ class IKnobCollection {
static std::unique_ptr<IKnobCollection> globalKnobCollection; static std::unique_ptr<IKnobCollection> globalKnobCollection;
public: public:
virtual ~IKnobCollection() = default;
enum class Type { enum class Type {
CLIENT, CLIENT,
SERVER, SERVER,