Skip to content

Commit

Permalink
reactor: Mark .configure() private
Browse files Browse the repository at this point in the history
It's only called from inside reactor's friend initialization helpers

Signed-off-by: Pavel Emelyanov <[email protected]>
  • Loading branch information
xemul committed Jul 6, 2024
1 parent c046992 commit 66c0df8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/seastar/core/reactor.hh
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ private:
future<temporary_buffer<char>>
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> smp, alien::instance& alien, unsigned id, reactor_backend_selector rbs, reactor_config cfg);
Expand Down Expand Up @@ -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<connected_socket> connect(socket_address sa);
Expand Down

0 comments on commit 66c0df8

Please sign in to comment.