This commit is contained in:
Arvid Norberg 2014-09-12 02:33:08 +00:00
parent 252e08a889
commit acdcf4c888
1 changed files with 3 additions and 0 deletions

View File

@ -402,6 +402,9 @@ namespace libtorrent
private:
// TODO: some space could be saved here by making gauges 32 bits
// TODO: restore these to regular integers. Instead have one copy
// of the counters per thread and collect them at convenient
// synchronization points
#if BOOST_ATOMIC_LLONG_LOCK_FREE == 2
boost::atomic<boost::int64_t> m_stats_counter[num_counters];
#else