mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-15 10:06:43 +02:00
Reformat code
This commit is contained in:
parent
c6518a4709
commit
e1c8250876
32 changed files with 505 additions and 351 deletions
|
@ -65,7 +65,9 @@ void Watchdog::trigger()
|
|||
{
|
||||
timer_.cancel();
|
||||
timer_.expires_after(timeout_ms_);
|
||||
timer_.async_wait([this](const boost::system::error_code& ec) {
|
||||
timer_.async_wait(
|
||||
[this](const boost::system::error_code& ec)
|
||||
{
|
||||
if (!ec)
|
||||
{
|
||||
LOG(INFO, LOG_TAG) << "Timed out: " << std::chrono::duration_cast<std::chrono::seconds>(timeout_ms_).count() << "s\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue