From fd27973988038869f1bd8fd957f76d2a8a377726 Mon Sep 17 00:00:00 2001 From: He Jie Xu Date: Thu, 23 Nov 2023 06:50:31 +0000 Subject: [PATCH] cleanup Signed-off-by: He Jie Xu --- source/common/io/io_uring_worker_impl.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/source/common/io/io_uring_worker_impl.h b/source/common/io/io_uring_worker_impl.h index 1588ab51d003..7a003f59060b 100644 --- a/source/common/io/io_uring_worker_impl.h +++ b/source/common/io/io_uring_worker_impl.h @@ -147,15 +147,14 @@ class IoUringSocketEntry : public IoUringSocket, void setFileReadyCb(Event::FileReadyCb cb) override { cb_ = std::move(cb); } - void onReadCompleted(); - void onWriteCompleted(); - void onRemoteClose(); - protected: /** * For the socket to remove itself from the IoUringWorker and defer deletion. */ void cleanup(); + void onReadCompleted(); + void onWriteCompleted(); + void onRemoteClose(); os_fd_t fd_{INVALID_SOCKET}; IoUringWorkerImpl& parent_;