mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-07 06:39:23 +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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user