Skip to content

Commit

Permalink
Merge pull request #286 from dpaulat/renovate/cpr-1.x
Browse files Browse the repository at this point in the history
Update dependency cpr to v1.11.0
  • Loading branch information
dpaulat authored Oct 18, 2024
2 parents 5195519 + c04cbc2 commit b4652f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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",
Expand Down
2 changes: 1 addition & 1 deletion scwx-qt/source/scwx/qt/manager/download_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b4652f6

Please sign in to comment.