* 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
+3 -3
View File
@@ -47,7 +47,7 @@ class ElementText;
class ElementPeerList : public ElementBase {
public:
typedef std::list<torrent::Peer> PList;
typedef std::list<torrent::Peer*> PList;
typedef enum {
DISPLAY_LIST,
@@ -71,8 +71,8 @@ private:
void receive_disconnect_peer();
void receive_peer_connected(torrent::Peer p);
void receive_peer_disconnected(torrent::Peer p);
void receive_peer_connected(torrent::Peer* p);
void receive_peer_disconnected(torrent::Peer* p);
void receive_snub_peer();