build fix
This commit is contained in:
parent
7aacfca292
commit
b84e87edf4
|
@ -165,7 +165,6 @@ namespace libtorrent
|
|||
{
|
||||
public:
|
||||
#ifndef BOOST_NO_EXCEPTIONS
|
||||
torrent_info(sha1_hash const& info_hash);
|
||||
torrent_info(lazy_entry const& torrent_file);
|
||||
torrent_info(char const* buffer, int size);
|
||||
torrent_info(fs::path const& filename);
|
||||
|
|
|
@ -125,7 +125,7 @@ namespace libtorrent
|
|||
{
|
||||
error_code ec;
|
||||
torrent_handle ret = add_magnet_uri(ses, uri, p, ec);
|
||||
if (ec) throw libtorrent_exceptions(ec);
|
||||
if (ec) throw libtorrent_exception(ec);
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue