Adapt to new auto coding style

This commit is contained in:
Alexander Bock
2022-02-10 15:20:21 +01:00
parent 0e49606706
commit 30212b6768
58 changed files with 446 additions and 404 deletions

View File

@@ -156,12 +156,11 @@ void UrlSynchronization::start() {
}
std::filesystem::path destination = directory() / (_filename + TempSuffix);
std::unique_ptr<HttpFileDownload> download =
std::make_unique<HttpFileDownload>(
url,
destination,
HttpFileDownload::Overwrite::Yes
);
auto download = std::make_unique<HttpFileDownload>(
url,
destination,
HttpFileDownload::Overwrite::Yes
);
HttpFileDownload* dl = download.get();
downloads.push_back(std::move(download));