mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-27 15:07:06 +02:00
Remove unused lambda parameter
This commit is contained in:
parent
384e71b7c9
commit
5a3abc31ed
2 changed files with 6 additions and 5 deletions
|
@ -722,11 +722,11 @@ void StreamServer::onMessageReceived(StreamSession* streamSession, const msg::Ba
|
|||
}
|
||||
|
||||
|
||||
void StreamServer::saveConfig()
|
||||
void StreamServer::saveConfig(const std::chrono::milliseconds& deferred)
|
||||
{
|
||||
config_timer_.cancel();
|
||||
config_timer_.expires_after(2s);
|
||||
config_timer_.async_wait([this](const boost::system::error_code& ec) {
|
||||
config_timer_.expires_after(deferred);
|
||||
config_timer_.async_wait([](const boost::system::error_code& ec) {
|
||||
if (!ec)
|
||||
{
|
||||
LOG(DEBUG) << "Saving config\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue