Downloader::Options typedef

This commit is contained in:
Veloman Yunkan
2024-02-27 19:09:27 +04:00
parent ff88430227
commit 4ab6215046
2 changed files with 7 additions and 4 deletions

View File

@ -166,7 +166,7 @@ std::vector<std::string> Downloader::getDownloadIds() const {
return ret;
}
std::shared_ptr<Download> Downloader::startDownload(const std::string& uri, const std::vector<std::pair<std::string, std::string>>& options)
std::shared_ptr<Download> Downloader::startDownload(const std::string& uri, const Options& options)
{
std::unique_lock<std::mutex> lock(m_lock);
for (auto& p: m_knownDownloads) {