Fixed error

This commit is contained in:
Alexey Milovidov 2020-03-06 00:50:58 +03:00
parent c2aae62d75
commit a0ace3e94a

View File

@ -220,7 +220,7 @@ private:
}
/// Close sessions, that has been expired. Returns how long to wait for next session to be expired, if no new sessions will be added.
std::chrono::steady_clock::duration closeSessions(std::unique_lock<std::mutex> &)
std::chrono::steady_clock::duration closeSessions(std::unique_lock<std::mutex> & lock)
{
const auto now = std::chrono::steady_clock::now();