From 7d83bfb6b37b615800f738d8d91635ac71cb89a7 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 26 Oct 2008 22:12:12 +0000 Subject: [PATCH] fixed pedantic warnings --- include/libtorrent/alert_types.hpp | 2 +- include/libtorrent/lazy_entry.hpp | 2 +- include/libtorrent/peer_info.hpp | 2 +- include/libtorrent/piece_picker.hpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/libtorrent/alert_types.hpp b/include/libtorrent/alert_types.hpp index e2e5567e9..1db56e443 100644 --- a/include/libtorrent/alert_types.hpp +++ b/include/libtorrent/alert_types.hpp @@ -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 diff --git a/include/libtorrent/lazy_entry.hpp b/include/libtorrent/lazy_entry.hpp index ffb5b67ee..547900c99 100644 --- a/include/libtorrent/lazy_entry.hpp +++ b/include/libtorrent/lazy_entry.hpp @@ -226,7 +226,7 @@ namespace libtorrent std::ostream& operator<<(std::ostream& os, lazy_entry const& e); -}; +} #endif diff --git a/include/libtorrent/peer_info.hpp b/include/libtorrent/peer_info.hpp index 6bf57e9da..5cfb096a3 100644 --- a/include/libtorrent/peer_info.hpp +++ b/include/libtorrent/peer_info.hpp @@ -208,7 +208,7 @@ namespace libtorrent { enum flags_t { - banned = 1, + banned = 1 }; tcp::endpoint ip; diff --git a/include/libtorrent/piece_picker.hpp b/include/libtorrent/piece_picker.hpp index f9f4985e4..2e76e8a9f 100644 --- a/include/libtorrent/piece_picker.hpp +++ b/include/libtorrent/piece_picker.hpp @@ -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; }