forked from premiere/premiere-libtorrent
fixed pedantic warnings
This commit is contained in:
parent
c18825c8db
commit
7d83bfb6b3
|
@ -158,7 +158,7 @@ namespace libtorrent
|
|||
enum performance_warning_t
|
||||
{
|
||||
outstanding_disk_buffer_limit_reached,
|
||||
outstanding_request_limit_reached,
|
||||
outstanding_request_limit_reached
|
||||
};
|
||||
|
||||
performance_alert(torrent_handle const& h
|
||||
|
|
|
@ -226,7 +226,7 @@ namespace libtorrent
|
|||
|
||||
std::ostream& operator<<(std::ostream& os, lazy_entry const& e);
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
@ -208,7 +208,7 @@ namespace libtorrent
|
|||
{
|
||||
enum flags_t
|
||||
{
|
||||
banned = 1,
|
||||
banned = 1
|
||||
};
|
||||
|
||||
tcp::endpoint ip;
|
||||
|
|
|
@ -380,7 +380,7 @@ namespace libtorrent
|
|||
// the priority value that means the piece is filtered
|
||||
filter_priority = 0,
|
||||
// the max number the peer count can hold
|
||||
max_peer_count = 0x3ff,
|
||||
max_peer_count = 0x3ff
|
||||
};
|
||||
|
||||
bool have() const { return index == we_have_index; }
|
||||
|
|
Loading…
Reference in New Issue