aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/filetransfer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/filetransfer.hh')
-rw-r--r--src/libstore/filetransfer.hh5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libstore/filetransfer.hh b/src/libstore/filetransfer.hh
index e028d7f70..3f55995ef 100644
--- a/src/libstore/filetransfer.hh
+++ b/src/libstore/filetransfer.hh
@@ -95,10 +95,7 @@ struct FileTransfer
* the download. The future may throw a FileTransferError
* exception.
*/
- virtual void enqueueFileTransfer(const FileTransferRequest & request,
- Callback<FileTransferResult> callback) = 0;
-
- std::future<FileTransferResult> enqueueFileTransfer(const FileTransferRequest & request);
+ virtual std::future<FileTransferResult> enqueueFileTransfer(const FileTransferRequest & request) = 0;
/**
* Synchronously download a file.