From db63bb4495669ecf0f40bd1688ee36f17e623919 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Tue, 15 Nov 2016 11:18:12 -0500 Subject: [PATCH] make it compile for real --- Tunnel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tunnel.cpp b/Tunnel.cpp index 3e9bfc6b..7bfec218 100644 --- a/Tunnel.cpp +++ b/Tunnel.cpp @@ -35,7 +35,7 @@ namespace tunnel TunnelLatency::Latency TunnelLatency::GetMeanLatency() const { - std::unique_lock l(m_access); + std::unique_lock lock(m_access); Latency l = 0; for(auto s : m_samples) l += s;