merged changes from RC_1_0

This commit is contained in:
Arvid Norberg 2015-03-31 22:27:32 +00:00
parent 7cb2f79377
commit 7118387926
2 changed files with 5 additions and 1 deletions

View File

@ -122,7 +122,7 @@ A very simple example usage of the module would be something like this::
e = lt.bdecode(open("test.torrent", 'rb').read())
info = lt.torrent_info(e)
params = { save_path: './', \
params = { save_path: '.', \
storage_mode: lt.storage_mode_t.storage_mode_sparse, \
ti: info }
h = ses.add_torrent(params)

View File

@ -156,6 +156,10 @@ namespace libtorrent
private:
// non-copyable
udp_socket(udp_socket const&);
udp_socket& operator=(udp_socket const&);
// observers on this udp socket
std::vector<udp_socket_observer*> m_observers;
std::vector<udp_socket_observer*> m_added_observers;