1
0
mirror of https://github.com/wqking/eventpp.git synced 2024-12-27 16:41:11 +08:00

Added virtual dtor to avoid compile warning

This commit is contained in:
wqking 2022-03-30 14:59:33 +08:00
parent 73a0f0a275
commit ec619b9538

View File

@ -52,6 +52,8 @@ protected:
class HomoCallbackListTypeBase class HomoCallbackListTypeBase
{ {
public: public:
virtual ~HomoCallbackListTypeBase() {}
virtual bool empty() = 0; virtual bool empty() = 0;
virtual bool doRemove(const HeterHandle_ & handle) = 0; virtual bool doRemove(const HeterHandle_ & handle) = 0;
virtual std::shared_ptr<HomoCallbackListTypeBase> doClone() = 0; virtual std::shared_ptr<HomoCallbackListTypeBase> doClone() = 0;