added a userdata parameter to add_torrent that is passed in to plugins

This commit is contained in:
Arvid Norberg
2007-09-14 00:11:33 +00:00
parent 8cbc53074d
commit 7bbfb3bd4b
8 changed files with 30 additions and 22 deletions

View File

@@ -556,7 +556,7 @@ namespace libtorrent { namespace
namespace libtorrent
{
boost::shared_ptr<torrent_plugin> create_metadata_plugin(torrent* t)
boost::shared_ptr<torrent_plugin> create_metadata_plugin(torrent* t, void*)
{
return boost::shared_ptr<torrent_plugin>(new metadata_plugin(*t));
}