mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
enqueueDownload -> enqueueDataTransfer
This commit is contained in:
parent
142ed7fe45
commit
2df2741ec6
3 changed files with 8 additions and 8 deletions
|
@ -142,7 +142,7 @@ protected:
|
|||
|
||||
auto callbackPtr = std::make_shared<decltype(callback)>(std::move(callback));
|
||||
|
||||
getDownloader()->enqueueDownload(request,
|
||||
getDownloader()->enqueueDataTransfer(request,
|
||||
{[callbackPtr, this](std::future<DataTransferResult> result) {
|
||||
try {
|
||||
(*callbackPtr)(result.get().data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue