Commit f77ab74b authored by knowledge4igor's avatar knowledge4igor

Remove EmptyCall

parent 79374629
......@@ -159,10 +159,6 @@ namespace Async {
}
};
struct EmptyCall {
void operator()(size_t) const { }
};
struct Core;
class Request {
......@@ -928,8 +924,6 @@ namespace Async {
static constexpr Private::NoExcept NoExcept{};
static constexpr Private::Throw Throw{};
static constexpr Private::EmptyCall EmptyCall{};
namespace details {
/*
......
......@@ -512,7 +512,7 @@ Connection::performImpl(
requestEntry.reset(new RequestEntry(std::move(resolve), std::move(reject), timer, std::move(onDone)));
transport_->asyncSendRequest(shared_from_this(), timer, std::move(buffer)).then(
Async::EmptyCall,
[](size_t /*bytes*/) {},
[&](std::exception_ptr e) { rejectClone(e); });
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment