Fix warnings

This commit is contained in:
Gioacchino Mazzurco 2018-10-05 01:55:18 +02:00
parent 341a68ce07
commit 1d8bb44811
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051
6 changed files with 7 additions and 7 deletions

View file

@ -140,10 +140,10 @@ JsonApiServer::JsonApiServer(uint16_t port, const std::string& bindAddress,
}, false);
registerHandler("/rsControl/rsGlobalShutDown",
[this](const std::shared_ptr<rb::Session> session)
[](const std::shared_ptr<rb::Session> session)
{
size_t reqSize = session->get_request()->get_header("Content-Length", 0);
session->fetch( reqSize, [this](
session->fetch( reqSize, [](
const std::shared_ptr<rb::Session> session,
const rb::Bytes& body )
{