From f6151262dcd407834855c64559f05c18883abcaa Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Sat, 18 Mar 2017 02:20:04 +0100 Subject: [PATCH] Cleanup --- test/mock/test-mock.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test/mock/test-mock.cpp b/test/mock/test-mock.cpp index b7d7563..b8e89ad 100644 --- a/test/mock/test-mock.cpp +++ b/test/mock/test-mock.cpp @@ -55,22 +55,6 @@ template struct promise { bool is_canceled() const noexcept { return false; } }; -template struct promise { - void set_value(T...) noexcept {} - - void operator()(T...) && noexcept {} - - void set_exception(std::exception_ptr exception) noexcept { - // ... - (void)exception; - } - - void set_error(std::error_code error) noexcept { - // ... - (void)error; - } -}; - template struct accumulator { auto accumulate() { return [] {};