forked from premiere/premiere-libtorrent
minor cleanup
This commit is contained in:
parent
647a6dba54
commit
27cbfa164e
|
@ -183,7 +183,8 @@ namespace libtorrent {
|
||||||
|
|
||||||
// this is either 0 or 1, it indicates which m_alerts and m_allocations
|
// this is either 0 or 1, it indicates which m_alerts and m_allocations
|
||||||
// the alert_manager is allowed to use right now. This is swapped when
|
// the alert_manager is allowed to use right now. This is swapped when
|
||||||
// the client calls get_all(), at which point
|
// the client calls get_all(), at which point all of the alert objects
|
||||||
|
// passed to the client will be owned by libtorrent again, and reset.
|
||||||
int m_generation;
|
int m_generation;
|
||||||
|
|
||||||
// this is where all alerts are queued up. There are two heterogenous
|
// this is where all alerts are queued up. There are two heterogenous
|
||||||
|
|
|
@ -778,8 +778,6 @@ namespace libtorrent
|
||||||
// to clear the undead peers
|
// to clear the undead peers
|
||||||
boost::optional<io_service::work> m_work;
|
boost::optional<io_service::work> m_work;
|
||||||
|
|
||||||
typedef std::list<boost::shared_ptr<torrent> > check_queue_t;
|
|
||||||
|
|
||||||
// this maps sockets to their peer_connection
|
// this maps sockets to their peer_connection
|
||||||
// object. It is the complete list of all connected
|
// object. It is the complete list of all connected
|
||||||
// peers.
|
// peers.
|
||||||
|
@ -1140,6 +1138,7 @@ namespace libtorrent
|
||||||
external_ip m_external_ip;
|
external_ip m_external_ip;
|
||||||
|
|
||||||
#ifndef TORRENT_DISABLE_EXTENSIONS
|
#ifndef TORRENT_DISABLE_EXTENSIONS
|
||||||
|
// this is a list to allow extensions to potentially remove themselves.
|
||||||
typedef std::list<boost::shared_ptr<plugin> > ses_extension_list_t;
|
typedef std::list<boost::shared_ptr<plugin> > ses_extension_list_t;
|
||||||
ses_extension_list_t m_ses_extensions;
|
ses_extension_list_t m_ses_extensions;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -886,7 +886,7 @@ namespace aux {
|
||||||
m_alerts.add_extension(ext);
|
m_alerts.add_extension(ext);
|
||||||
ext->added(this);
|
ext->added(this);
|
||||||
}
|
}
|
||||||
#endif
|
#endif // TORRENT_DISABLE_EXTENSIONS
|
||||||
|
|
||||||
#ifndef TORRENT_NO_DEPRECATE
|
#ifndef TORRENT_NO_DEPRECATE
|
||||||
feed_handle session_impl::add_feed(feed_settings const& sett)
|
feed_handle session_impl::add_feed(feed_settings const& sett)
|
||||||
|
|
Loading…
Reference in New Issue