Add pointer qualifications to auto-typed variables

This commit is contained in:
Chocobo1 2023-05-05 03:07:26 +08:00
parent 8c9b6e2f2d
commit e408973ee6
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
27 changed files with 78 additions and 78 deletions

View file

@ -208,7 +208,7 @@ void Net::DownloadHandlerImpl::handleRedirection(const QUrl &newUrl)
return;
}
auto redirected = static_cast<DownloadHandlerImpl *>(
auto *redirected = static_cast<DownloadHandlerImpl *>(
m_manager->download(DownloadRequest(m_downloadRequest).url(newUrlString), useProxy()));
redirected->m_redirectionCount = m_redirectionCount + 1;
connect(redirected, &DownloadHandlerImpl::finished, this, [this](const DownloadResult &result)