Comment out the unused function arguments to prevent a compiler warning.
This commit is contained in:
parent
d136101d19
commit
0ffaae70d5
@ -5,8 +5,8 @@
|
||||
#include "asio.hpp"
|
||||
|
||||
void handle_send(asio::stream_socket* socket, char* data,
|
||||
const asio::socket_error& error, size_t last_bytes_sent,
|
||||
size_t total_bytes_sent)
|
||||
const asio::socket_error& /*error*/, size_t /*last_bytes_sent*/,
|
||||
size_t /*total_bytes_sent*/)
|
||||
{
|
||||
using namespace std; // For free.
|
||||
free(data);
|
||||
|
Loading…
Reference in New Issue
Block a user