diff options
Diffstat (limited to 'tests/unit/libstore/filetransfer.cc')
-rw-r--r-- | tests/unit/libstore/filetransfer.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/libstore/filetransfer.cc b/tests/unit/libstore/filetransfer.cc index 6e8cf3bbe..71e7392fc 100644 --- a/tests/unit/libstore/filetransfer.cc +++ b/tests/unit/libstore/filetransfer.cc @@ -6,7 +6,6 @@ #include <future> #include <gtest/gtest.h> #include <netinet/in.h> -#include <stdexcept> #include <string> #include <string_view> #include <sys/poll.h> @@ -130,7 +129,7 @@ serveHTTP(std::string status, std::string headers, std::function<std::string()> TEST(FileTransfer, exceptionAbortsDownload) { - struct Done + struct Done : std::exception {}; auto ft = makeFileTransfer(); |