From b7abd5691c5608d4d1424a6e7fbec12b34a8b57d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 19 Aug 2019 22:00:25 +0200 Subject: [PATCH] lib/curl/Global: use `auto` --- src/lib/curl/Global.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/curl/Global.cxx b/src/lib/curl/Global.cxx index 4e6a668f5..f27817205 100644 --- a/src/lib/curl/Global.cxx +++ b/src/lib/curl/Global.cxx @@ -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());