diff --git a/include/eventpp/hetercallbacklist.h b/include/eventpp/hetercallbacklist.h index 04756a2..139ce72 100644 --- a/include/eventpp/hetercallbacklist.h +++ b/include/eventpp/hetercallbacklist.h @@ -52,6 +52,8 @@ protected: class HomoCallbackListTypeBase { public: + virtual ~HomoCallbackListTypeBase() {} + virtual bool empty() = 0; virtual bool doRemove(const HeterHandle_ & handle) = 0; virtual std::shared_ptr doClone() = 0;