mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 13:20:04 +00:00
Merge pull request #286 from dpaulat/renovate/cpr-1.x
Update dependency cpr to v1.11.0
This commit is contained in:
commit
b4652f6d2d
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ from conans import ConanFile
|
|||
class SupercellWxConan(ConanFile):
|
||||
settings = ("os", "compiler", "build_type", "arch")
|
||||
requires = ("boost/1.86.0",
|
||||
"cpr/1.10.5",
|
||||
"cpr/1.11.0",
|
||||
"fontconfig/2.15.0",
|
||||
"freetype/2.13.3",
|
||||
"geographiclib/2.4",
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue