diff --git a/core/reactor.hh b/core/reactor.hh index 2aaaf415b1..beb9285380 100644 --- a/core/reactor.hh +++ b/core/reactor.hh @@ -165,7 +165,6 @@ size_t iovec_len(const std::vector& iov) class pollable_fd { public: using speculation = pollable_fd_state::speculation; - std::unique_ptr _s; pollable_fd(file_desc fd, speculation speculate = speculation()) : _s(std::make_unique(std::move(fd), speculate)) {} public: @@ -191,6 +190,8 @@ protected: friend class reactor; friend class readable_eventfd; friend class writeable_eventfd; +private: + std::unique_ptr _s; }; class connected_socket_impl {