From 7d2c188053bf669f09b3ff038ef862a9db2b8f24 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 29 Jun 2018 19:49:59 +0800 Subject: [PATCH] crimson/net: use boost::thread_unsafe_counter for refcounting Connection seastar is basically single threaded. Signed-off-by: Kefu Chai --- src/crimson/net/Connection.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/crimson/net/Connection.h b/src/crimson/net/Connection.h index 7248fdbe8ced9..25b756cddf2d9 100644 --- a/src/crimson/net/Connection.h +++ b/src/crimson/net/Connection.h @@ -24,7 +24,8 @@ namespace ceph::net { using seq_num_t = uint64_t; -class Connection : public boost::intrusive_ref_counter { +class Connection : public boost::intrusive_ref_counter { protected: Messenger *const messenger; entity_addr_t my_addr; -- 2.39.5