build fix

This commit is contained in:
Arvid Norberg 2009-02-27 07:03:00 +00:00
parent 7aacfca292
commit b84e87edf4
2 changed files with 1 additions and 2 deletions

View File

@ -165,7 +165,6 @@ namespace libtorrent
{ {
public: public:
#ifndef BOOST_NO_EXCEPTIONS #ifndef BOOST_NO_EXCEPTIONS
torrent_info(sha1_hash const& info_hash);
torrent_info(lazy_entry const& torrent_file); torrent_info(lazy_entry const& torrent_file);
torrent_info(char const* buffer, int size); torrent_info(char const* buffer, int size);
torrent_info(fs::path const& filename); torrent_info(fs::path const& filename);

View File

@ -125,7 +125,7 @@ namespace libtorrent
{ {
error_code ec; error_code ec;
torrent_handle ret = add_magnet_uri(ses, uri, p, 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; return ret;
} }
#endif #endif