mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 23:22:31 +00:00
* 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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user