mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-23 03:55:49 +00:00
Use class template argument deduction for locks
This commit is contained in:
@@ -202,7 +202,7 @@ disallowRenegotiation (SSL const* ssl, bool isNew)
|
||||
};
|
||||
|
||||
static StaticData sd;
|
||||
std::lock_guard <std::mutex> lock (sd.lock);
|
||||
std::lock_guard lock (sd.lock);
|
||||
auto const expired (sd.set.clock().now() - std::chrono::minutes(4));
|
||||
|
||||
// Remove expired entries
|
||||
|
||||
Reference in New Issue
Block a user