* torrent::Peer now is used as a pointer, instead of an instance

containing a pointer.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1007 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-11-13 11:33:39 +00:00
parent 3f644aed8f
commit 2fe964059f
4 changed files with 29 additions and 29 deletions
+2 -2
View File
@@ -50,14 +50,14 @@ namespace display {
class WindowPeerList : public Window {
public:
typedef std::list<torrent::Peer> PList;
typedef std::list<torrent::Peer*> PList;
WindowPeerList(core::Download* d, PList* l, PList::iterator* f);
virtual void redraw();
private:
int done_percentage(torrent::Peer& p);
int done_percentage(torrent::Peer* p);
core::Download* m_download;