clang-format-3.9

This commit is contained in:
Tatsuhiro Tsujikawa 2016-10-15 19:02:54 +09:00
parent a7fcf83bdf
commit aa4ea8889c
51 changed files with 332 additions and 271 deletions

View file

@ -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)));