From a3a59496d89871d0062097fed22086fd7674b931 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 1 May 2015 22:20:22 +0000 Subject: [PATCH] fix build issue with non-atomic int64 --- include/libtorrent/performance_counters.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libtorrent/performance_counters.hpp b/include/libtorrent/performance_counters.hpp index a2ded9397..311e14823 100644 --- a/include/libtorrent/performance_counters.hpp +++ b/include/libtorrent/performance_counters.hpp @@ -455,7 +455,7 @@ namespace libtorrent #else // if the atomic type is't lock-free, use a single lock instead, for // the whole array - mutex m_mutex; + mutable mutex m_mutex; boost::int64_t m_stats_counter[num_counters]; #endif };