Commit e742dc44 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

ModificationsNotifier: Constify current time to clarify

parent 8579fa46
......@@ -140,7 +140,7 @@ void ModificationNotifier::run()
m_cond.wait_until( lock, m_timeout, [this]() { return m_stop == true; });
if ( m_stop == true )
auto now = std::chrono::steady_clock::now();
const auto now = std::chrono::steady_clock::now();
auto nextTimeout = ZeroTimeout;
checkQueue( m_media, media, nextTimeout, now );
checkQueue( m_artists, artists, nextTimeout, now );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment