diff --git a/include/libtorrent/torrent.hpp b/include/libtorrent/torrent.hpp index c1c41e4ae..cc1ad2eed 100644 --- a/include/libtorrent/torrent.hpp +++ b/include/libtorrent/torrent.hpp @@ -260,8 +260,8 @@ namespace libtorrent // m_allow_peers is also false. bool m_graceful_pause_mode:1; - // state subscription. If set, a pointer to this torrent - // will be added to the m_state_updates set in session_impl + // state subscription. If set, a pointer to this torrent will be added + // to the session_impl::m_torrent_lists[torrent_state_updates] // whenever this torrent's state changes (any state). bool m_state_subscription:1; @@ -1625,16 +1625,10 @@ namespace libtorrent // is optional and may be 0xffffff boost::uint32_t m_incomplete:24; - // true when the torrent should announce to // the DHT bool m_announce_to_dht:1; - // in state_updates list. When adding a torrent to the - // session_impl's m_state_update list, this bit is set - // to never add the same torrent twice - bool m_in_state_updates:1; - // these represent whether or not this torrent is counted // in the total counters of active seeds and downloads // in the session. diff --git a/src/torrent.cpp b/src/torrent.cpp index 16407d659..1fd5ada27 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -276,7 +276,6 @@ namespace libtorrent , m_padding(0) , m_incomplete(0xffffff) , m_announce_to_dht((p.flags & add_torrent_params::flag_paused) == 0) - , m_in_state_updates(false) , m_is_active_download(false) , m_is_active_finished(false) , m_ssl_torrent(false)