shave off some includes in torrent.cpp
This commit is contained in:
parent
a63cfd2a95
commit
78399f7968
|
@ -34,9 +34,12 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
#include "libtorrent/aux_/disable_warnings_push.hpp"
|
||||
|
||||
#include <stdarg.h> // for va_list
|
||||
#include <ctime>
|
||||
#include <algorithm>
|
||||
#include <set>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <cctype>
|
||||
#include <numeric>
|
||||
#include <limits> // for numeric_limits
|
||||
|
@ -56,7 +59,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "libtorrent/aux_/disable_warnings_pop.hpp"
|
||||
|
||||
#include "libtorrent/torrent_handle.hpp"
|
||||
#include "libtorrent/session.hpp"
|
||||
#include "libtorrent/torrent_info.hpp"
|
||||
#include "libtorrent/tracker_manager.hpp"
|
||||
#include "libtorrent/parse_url.hpp"
|
||||
|
@ -69,7 +71,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "libtorrent/web_peer_connection.hpp"
|
||||
#include "libtorrent/http_seed_connection.hpp"
|
||||
#include "libtorrent/peer_id.hpp"
|
||||
#include "libtorrent/alert.hpp"
|
||||
#include "libtorrent/identify_client.hpp"
|
||||
#include "libtorrent/alert_types.hpp"
|
||||
#include "libtorrent/extensions.hpp"
|
||||
|
@ -79,17 +80,13 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "libtorrent/broadcast_socket.hpp"
|
||||
#include "libtorrent/kademlia/dht_tracker.hpp"
|
||||
#include "libtorrent/peer_info.hpp"
|
||||
#include "libtorrent/enum_net.hpp"
|
||||
#include "libtorrent/http_connection.hpp"
|
||||
#include "libtorrent/gzip.hpp" // for inflate_gzip
|
||||
#include "libtorrent/random.hpp"
|
||||
#include "libtorrent/peer_class.hpp" // for peer_class
|
||||
#include "libtorrent/string_util.hpp" // for allocate_string_copy
|
||||
#include "libtorrent/socket_io.hpp" // for read_*_endpoint
|
||||
#include "libtorrent/ip_filter.hpp"
|
||||
#include "libtorrent/request_blocks.hpp"
|
||||
#include "libtorrent/performance_counters.hpp" // for counters
|
||||
#include "libtorrent/alert_manager.hpp" // for alert_manageralert_manager
|
||||
#include "libtorrent/resolver_interface.hpp"
|
||||
#include "libtorrent/alloca.hpp"
|
||||
#include "libtorrent/resolve_links.hpp"
|
||||
|
@ -106,6 +103,8 @@ using boost::tuples::make_tuple;
|
|||
|
||||
namespace libtorrent
|
||||
{
|
||||
class alert_manager;
|
||||
|
||||
namespace {
|
||||
|
||||
int root2(int x)
|
||||
|
|
Loading…
Reference in New Issue