mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 16:34:13 +00:00
make it compile for real
This commit is contained in:
parent
34afb54c21
commit
db63bb4495
@ -35,7 +35,7 @@ namespace tunnel
|
|||||||
|
|
||||||
TunnelLatency::Latency TunnelLatency::GetMeanLatency() const
|
TunnelLatency::Latency TunnelLatency::GetMeanLatency() const
|
||||||
{
|
{
|
||||||
std::unique_lock<std::mutex> l(m_access);
|
std::unique_lock<std::mutex> lock(m_access);
|
||||||
Latency l = 0;
|
Latency l = 0;
|
||||||
for(auto s : m_samples)
|
for(auto s : m_samples)
|
||||||
l += s;
|
l += s;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user