diff options
author | Ben Burdette <bburdette@gmail.com> | 2020-05-11 15:52:15 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2020-05-11 15:52:15 -0600 |
commit | b93c1bf3d67716231d2ff7ee4154b8c80a251b10 (patch) | |
tree | cd45655102052480e02f2e7dbf274108e0c263c0 /src/libstore/filetransfer.hh | |
parent | 59b1f5c70150a81c7a6fa0dc3309a9d44e9621f8 (diff) |
fixes to merged code
Diffstat (limited to 'src/libstore/filetransfer.hh')
-rw-r--r-- | src/libstore/filetransfer.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/filetransfer.hh b/src/libstore/filetransfer.hh index 517b1a7d3..11dca2fe0 100644 --- a/src/libstore/filetransfer.hh +++ b/src/libstore/filetransfer.hh @@ -103,8 +103,9 @@ class FileTransferError : public Error { public: FileTransfer::Error error; + template<typename... Args> FileTransferError(FileTransfer::Error error, const Args & ... args) - : Error(fs), error(error) + : Error(args...), error(error) { } }; |