make it compile for real

This commit is contained in:
Jeff Becker 2016-11-15 11:18:12 -05:00
parent 34afb54c21
commit db63bb4495

View File

@ -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;