diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:16:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 22:48:29 +0100 |
| commit | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch) | |
| tree | e56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/lib/server.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/lib/server.h')
| -rw-r--r-- | src/lib/server.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/server.h b/src/lib/server.h index 6ef268831..fbcd7e870 100644 --- a/src/lib/server.h +++ b/src/lib/server.h @@ -43,10 +43,10 @@ protected: bool _terminate; private: - virtual void handle (boost::shared_ptr<Socket> socket) = 0; + virtual void handle (std::shared_ptr<Socket> socket) = 0; void start_accept (); - void handle_accept (boost::shared_ptr<Socket>, boost::system::error_code const &); + void handle_accept (std::shared_ptr<Socket>, boost::system::error_code const &); boost::asio::io_service _io_service; boost::asio::ip::tcp::acceptor _acceptor; |
