DownloadResult -> DataTransferResult

This commit is contained in:
Nikola Knezevic
2020-04-08 22:26:57 +02:00
parent e5cc53beec
commit 142ed7fe45
5 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -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) {