From 49464d9d3ce0af0e947872b8b1d86bc4368d0995 Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Sat, 6 Jul 2024 14:08:11 +0300 Subject: [PATCH] reactor: Mark .configure() private It's only called from inside reactor's friend initialization helpers Signed-off-by: Pavel Emelyanov --- include/seastar/core/reactor.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/seastar/core/reactor.hh b/include/seastar/core/reactor.hh index a215f851de5..d3fd0c49b9a 100644 --- a/include/seastar/core/reactor.hh +++ b/include/seastar/core/reactor.hh @@ -428,6 +428,7 @@ private: future> do_recv_some(pollable_fd_state& fd, internal::buffer_allocator* ba); + void configure(const reactor_options& opts); int do_run(); public: explicit reactor(std::shared_ptr smp, alien::instance& alien, unsigned id, reactor_backend_selector rbs, reactor_config cfg); @@ -469,8 +470,6 @@ public: /// @private void update_shares_for_queues(internal::priority_class pc, uint32_t shares); - void configure(const reactor_options& opts); - server_socket listen(socket_address sa, listen_options opts = {}); future connect(socket_address sa);