diff --git a/nano/node/transport/tcp_listener.cpp b/nano/node/transport/tcp_listener.cpp index 511b270f8b..358dec37cb 100644 --- a/nano/node/transport/tcp_listener.cpp +++ b/nano/node/transport/tcp_listener.cpp @@ -35,7 +35,7 @@ nano::transport::tcp_listener::~tcp_listener () debug_assert (!thread.joinable ()); } -void nano::transport::tcp_listener::start (std::function const &, boost::system::error_code const &)> callback_a) +void nano::transport::tcp_listener::start () { debug_assert (!thread.joinable ()); debug_assert (!cleanup_thread.joinable ()); @@ -56,7 +56,7 @@ void nano::transport::tcp_listener::start (std::function const &, boost::system::error_code const &)> callback = {}); + void start (); void stop (); nano::tcp_endpoint endpoint () const;