lib/curl/Global: use auto
This commit is contained in:
parent
7a0957d713
commit
b7abd5691c
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user