Format first-party source according to .clang-format

This commit is contained in:
Pretty Printer
2020-04-17 09:56:34 -05:00
committed by manojsdoshi
parent 65dfc5d19e
commit 50760c6935
1076 changed files with 86161 additions and 77449 deletions

View File

@@ -22,17 +22,16 @@
BasicApp::BasicApp(std::size_t numberOfThreads)
{
work_.emplace (io_service_);
work_.emplace(io_service_);
threads_.reserve(numberOfThreads);
while(numberOfThreads--)
while (numberOfThreads--)
{
threads_.emplace_back([this, numberOfThreads]()
{
beast::setCurrentThreadName("io svc #" +
std::to_string(numberOfThreads));
this->io_service_.run();
});
threads_.emplace_back([this, numberOfThreads]() {
beast::setCurrentThreadName(
"io svc #" + std::to_string(numberOfThreads));
this->io_service_.run();
});
}
}