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