lib/curl/Global: use auto

This commit is contained in:
Max Kellermann 2019-08-19 22:00:25 +02:00
parent 7a0957d713
commit b7abd5691c

View File

@ -112,7 +112,7 @@ CurlSocket::SocketFunction(gcc_unused CURL *easy,
void *userp, void *socketp) noexcept
{
auto &global = *(CurlGlobal *)userp;
CurlSocket *cs = (CurlSocket *)socketp;
auto *cs = (CurlSocket *)socketp;
assert(global.GetEventLoop().IsInside());