From ef9bac36ea8a5ccd6934546630669378c873a665 Mon Sep 17 00:00:00 2001 From: Alexey Ozeritskiy Date: Sun, 3 Dec 2023 00:14:20 +0100 Subject: [PATCH] Minor fix for uring socket --- coroio/uring.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coroio/uring.hpp b/coroio/uring.hpp index d84432e..6895bfd 100644 --- a/coroio/uring.hpp +++ b/coroio/uring.hpp @@ -232,8 +232,8 @@ class TUring: public TPollerBase { class TUringSocket: public TSocket { public: - TUringSocket(TAddress&& addr, TUring& poller) - : TSocket(addr, poller) + TUringSocket(TAddress addr, TUring& poller) + : TSocket(std::move(addr), poller) , Uring_(&poller) { }