Merge pull request #286 from dpaulat/renovate/cpr-1.x

Update dependency cpr to v1.11.0
This commit is contained in:
Dan Paulat 2024-10-18 04:05:43 -05:00 committed by GitHub
commit b4652f6d2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -155,7 +155,7 @@ void DownloadManager::Impl::DownloadSync(
return !request->IsCanceled();
}),
cpr::WriteCallback(
[&](std::string data, std::intptr_t /* userdata */)
[&](const std::string_view& data, std::intptr_t /* userdata */)
{
// Write file
ofs << data;