From 5dde086f23bd1b8c8868cba867de3566e6b09ad1 Mon Sep 17 00:00:00 2001 From: Xie Han <63350856@qq.com> Date: Thu, 8 Aug 2024 23:36:30 +0800 Subject: [PATCH] Add 'virtual' for WFNetworkTask::push(). --- src/factory/WFTask.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/factory/WFTask.h b/src/factory/WFTask.h index 6c5722bd93..218f08a3da 100644 --- a/src/factory/WFTask.h +++ b/src/factory/WFTask.h @@ -179,7 +179,7 @@ class WFNetworkTask : public CommRequest } /* Push reply data synchronously. */ - int push(const void *buf, size_t size) + virtual int push(const void *buf, size_t size) { if (this->state != WFT_STATE_TOREPLY && this->state != WFT_STATE_NOREPLY)