mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Format first-party source according to .clang-format
This commit is contained in:
committed by
manojsdoshi
parent
65dfc5d19e
commit
50760c6935
@@ -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();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user