diff --git a/include/libtorrent/aux_/session_impl.hpp b/include/libtorrent/aux_/session_impl.hpp index 166b25207..be88588a9 100644 --- a/include/libtorrent/aux_/session_impl.hpp +++ b/include/libtorrent/aux_/session_impl.hpp @@ -904,6 +904,10 @@ namespace libtorrent // accumulated error boost::uint16_t m_tick_residual; + // the number of torrents that have apply_ip_filter + // set to false. This is typically 0 + int m_non_filtered_torrents; + #if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING || defined TORRENT_ERROR_LOGGING boost::shared_ptr create_log(std::string const& name , int instance, bool append = true); @@ -980,10 +984,6 @@ namespace libtorrent std::vector > m_feeds; - // the number of torrents that have apply_ip_filter - // set to false. This is typically 0 - int m_non_filtered_torrents; - // the main working thread boost::scoped_ptr m_thread; diff --git a/src/session_impl.cpp b/src/session_impl.cpp index c34862e8b..62e4a6aec 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -527,6 +527,7 @@ namespace aux { , m_lsd_announce_timer(m_io_service) , m_host_resolver(m_io_service) , m_tick_residual(0) + , m_non_filtered_torrents(0) #if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING || defined TORRENT_ERROR_LOGGING , m_logpath(logpath) #endif @@ -536,7 +537,6 @@ namespace aux { #endif , m_total_failed_bytes(0) , m_total_redundant_bytes(0) - , m_non_filtered_torrents(0) #if defined TORRENT_DEBUG && defined BOOST_HAS_PTHREADS , m_network_thread(0) #endif