fix warnings

This commit is contained in:
Arvid Norberg 2015-05-16 07:21:23 +00:00
parent 2bf4519bee
commit 259e094316
3 changed files with 33 additions and 33 deletions

View File

@ -2174,7 +2174,7 @@ namespace libtorrent
outgoing_message,
incoming,
outgoing,
info,
info
};
// internal

View File

@ -308,7 +308,7 @@ namespace libtorrent
socket_recv_size19,
socket_recv_size20,
num_stats_counters,
num_stats_counters
};
// == ALL FOLLOWING ARE GAUGES ==

View File

@ -338,7 +338,7 @@ namespace libtorrent
, aux::session_logger& ses
#endif
);
~tracker_manager();
virtual ~tracker_manager();
void queue_request(
io_service& ios
@ -355,12 +355,12 @@ namespace libtorrent
void received_bytes(int bytes);
virtual bool incoming_packet(error_code const& e, udp::endpoint const& ep
, char const* buf, int size);
, char const* buf, int size) TORRENT_OVERRIDE;
// this is only used for SOCKS packets, since
// they may be addressed to hostname
virtual bool incoming_packet(error_code const& e, char const* hostname
, char const* buf, int size);
, char const* buf, int size) TORRENT_OVERRIDE;
void update_transaction_id(
boost::shared_ptr<udp_tracker_connection> c