Skip to content

Commit

Permalink
Move create_key() to protected.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Jul 24, 2024
1 parent 1da1fbe commit 3820705
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/bitcoin/network/sessions/session.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ class BCT_API session
/// Subscribe to session stop notification, obtain unsubscribe key.
virtual object_key subscribe_stop(notifier&& handler) NOEXCEPT;
virtual bool notify(object_key key) NOEXCEPT;
virtual object_key create_key() NOEXCEPT;

/// Remove self from network close subscription (for session early stop).
virtual void unsubscribe_close() NOEXCEPT;
Expand Down Expand Up @@ -232,8 +233,6 @@ class BCT_API session
asio::strand& strand() NOEXCEPT;

private:
object_key create_key() NOEXCEPT;

void handle_channel_start(const code& ec, const channel::ptr& channel,
const result_handler& started, const result_handler& stopped) NOEXCEPT;

Expand Down

0 comments on commit 3820705

Please sign in to comment.