Fix unused parameter warnings in tests

This commit is contained in:
Mohammad Nejati
2024-03-31 18:59:36 +03:30
committed by Mohammad Nejati
parent 3d2f982255
commit bcd65c828e
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ struct async_all_server_op : boost::asio::coroutine
async_all_server_op(stream<asio::ip::tcp::socket> & ws) : ws(ws) {}
template<typename Self>
void operator()(Self && self, error_code ec = {}, std::size_t sz = 0)
void operator()(Self && self, error_code ec = {}, std::size_t = 0)
{
if (ec)
return self.complete(ec);
@@ -81,7 +81,7 @@ struct async_all_client_op : boost::asio::coroutine
std::shared_ptr<impl_t> impl{std::make_shared<impl_t>()};
template<typename Self>
void operator()(Self && self, error_code ec = {}, std::size_t sz = 0)
void operator()(Self && self, error_code ec = {}, std::size_t = 0)
{
if (ec)
return self.complete(ec);