forked from premiere/premiere-libtorrent
fixed logging build
This commit is contained in:
parent
9d0b99480b
commit
019b682cf9
|
@ -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<logger> create_log(std::string const& name
|
||||
, int instance, bool append = true);
|
||||
|
@ -980,10 +984,6 @@ namespace libtorrent
|
|||
|
||||
std::vector<boost::shared_ptr<feed> > 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<thread> m_thread;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue