| 171 | |
| 172 | private: |
| 173 | void do_accept() |
| 174 | { |
| 175 | acceptor_.async_accept( |
| 176 | [this](boost::system::error_code ec, tcp::socket socket) |
| 177 | { |
| 178 | if (!ec) |
| 179 | { |
| 180 | std::make_shared<connection>(std::move(socket))->start(); |
| 181 | } |
| 182 | |
| 183 | do_accept(); |
| 184 | }); |
| 185 | } |
| 186 | |
| 187 | tcp::acceptor acceptor_; |
| 188 | }; |
nothing calls this directly
no test coverage detected