Skip to content
Snippets Groups Projects
Commit 6d0d2ae4 authored by Diogo Silva's avatar Diogo Silva
Browse files

MicroHttpdServer: added auto

parent 54919d65
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ int httpRequestCallback(void* cls, MHD_Connection* c, const char* url,
MicroHttpdServer* server = static_cast<MicroHttpdServer*>(cls);
MicroHttpdServer::Connection connection(c, url);
auto response = server->callback()->receivedConnection(*server, connection);
MicroHttpdServer::Response* micro_response_ptr =
auto micro_response_ptr =
static_cast<MicroHttpdServer::Response*>(response.get());
micro_response_ptr->send(connection);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment