diff options
author | Max Kellermann <max@musicpd.org> | 2019-08-19 22:00:25 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-08-19 22:00:25 +0200 |
commit | b7abd5691c5608d4d1424a6e7fbec12b34a8b57d (patch) | |
tree | 1febaed9490dd87403fd969f18201da2d50c3c05 /src/lib/curl/Global.cxx | |
parent | 7a0957d7136d51b9c4680468253543812186facc (diff) |
lib/curl/Global: use `auto`
Diffstat (limited to 'src/lib/curl/Global.cxx')
-rw-r--r-- | src/lib/curl/Global.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |