diff options
author | jade <lix@jade.fyi> | 2024-06-06 03:08:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@lix-systems> | 2024-06-06 03:08:14 +0000 |
commit | 8f9bcd20ebc1a4bdf44e8c1b16cac9a905c505d9 (patch) | |
tree | 91ddc0e28490cc7e91a3122d6d57c2bf15cd9df3 /src | |
parent | 6e59b4b407c577e838ec39a4912be71f0aca36ca (diff) | |
parent | 609b72142546c922b1ca52ac7bf9ae00c2f452c0 (diff) |
Merge "libstore/filetransfer: fix no-s3 build" into main
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/filetransfer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/filetransfer.cc b/src/libstore/filetransfer.cc index fd341b2f0..156ab6f7a 100644 --- a/src/libstore/filetransfer.cc +++ b/src/libstore/filetransfer.cc @@ -656,7 +656,7 @@ struct curlFileTransfer : public FileTransfer /* Ugly hack to support s3:// URIs. */ if (request.uri.starts_with("s3://")) { // FIXME: do this on a worker thread - return std::async(std::launch::deferred, [uri{request.uri}] { + return std::async(std::launch::deferred, [uri{request.uri}]() -> FileTransferResult { #if ENABLE_S3 auto [bucketName, key, params] = parseS3Uri(uri); |