fixed pedantic warnings

This commit is contained in:
Arvid Norberg 2008-10-26 22:12:12 +00:00
parent c18825c8db
commit 7d83bfb6b3
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -226,7 +226,7 @@ namespace libtorrent
std::ostream& operator<<(std::ostream& os, lazy_entry const& e);
};
}
#endif

View File

@ -208,7 +208,7 @@ namespace libtorrent
{
enum flags_t
{
banned = 1,
banned = 1
};
tcp::endpoint ip;

View File

@ -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; }