1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 14:51:16 +02:00

enqueueDownload -> enqueueDataTransfer

This commit is contained in:
Nikola Knezevic 2020-04-06 15:37:33 +02:00
parent 142ed7fe45
commit 2df2741ec6
3 changed files with 8 additions and 8 deletions

View file

@ -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);