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

@@ -170,12 +170,11 @@ bool HttpSynchronization::trySyncFromUrl(std::string listUrl) {
continue;
}
std::unique_ptr<HttpFileDownload> download =
std::make_unique<HttpFileDownload>(
line,
destination,
HttpFileDownload::Overwrite::Yes
);
auto download = std::make_unique<HttpFileDownload>(
line,
destination,
HttpFileDownload::Overwrite::Yes
);
HttpFileDownload* dl = download.get();
downloads.push_back(std::move(download));