mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 13:37:40 +03:00
clang-format-3.9
This commit is contained in:
parent
a7fcf83bdf
commit
aa4ea8889c
51 changed files with 332 additions and 271 deletions
|
@ -29,19 +29,20 @@ public:
|
|||
public:
|
||||
MockDHTMessageDispatcher() {}
|
||||
|
||||
virtual void addMessageToQueue(
|
||||
std::unique_ptr<DHTMessage> message, std::chrono::seconds timeout,
|
||||
std::unique_ptr<DHTMessageCallback>
|
||||
callback = std::unique_ptr<DHTMessageCallback>{}) CXX11_OVERRIDE
|
||||
virtual void
|
||||
addMessageToQueue(std::unique_ptr<DHTMessage> message,
|
||||
std::chrono::seconds timeout,
|
||||
std::unique_ptr<DHTMessageCallback> callback =
|
||||
std::unique_ptr<DHTMessageCallback>{}) CXX11_OVERRIDE
|
||||
{
|
||||
messageQueue_.push_back(
|
||||
Entry(std::move(message), std::move(timeout), std::move(callback)));
|
||||
}
|
||||
|
||||
virtual void addMessageToQueue(
|
||||
std::unique_ptr<DHTMessage> message,
|
||||
std::unique_ptr<DHTMessageCallback>
|
||||
callback = std::unique_ptr<DHTMessageCallback>{}) CXX11_OVERRIDE
|
||||
virtual void
|
||||
addMessageToQueue(std::unique_ptr<DHTMessage> message,
|
||||
std::unique_ptr<DHTMessageCallback> callback =
|
||||
std::unique_ptr<DHTMessageCallback>{}) CXX11_OVERRIDE
|
||||
{
|
||||
messageQueue_.push_back(
|
||||
Entry(std::move(message), DHT_MESSAGE_TIMEOUT, std::move(callback)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue