Commit 1bda76b3 authored by Francis Dupont's avatar Francis Dupont

[master] Fixed 2 unused arguments

parent 74eeb5e8
......@@ -129,7 +129,7 @@ HttpConnection::acceptorCallback(const boost::system::error_code& ec) {
}
void
HttpConnection::socketReadCallback(boost::system::error_code ec, size_t length) {
HttpConnection::socketReadCallback(boost::system::error_code, size_t length) {
std::string s(&buf_[0], buf_[0] + length);
parser_->postBuffer(static_cast<void*>(buf_.data()), length);
parser_->poll();
......@@ -148,7 +148,7 @@ HttpConnection::socketReadCallback(boost::system::error_code ec, size_t length)
}
void
HttpConnection::socketWriteCallback(boost::system::error_code ec,
HttpConnection::socketWriteCallback(boost::system::error_code,
size_t length) {
if (length <= output_buf_.size()) {
output_buf_.erase(0, length);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment