From b84e87edf452e60bda8fb60b60e42ab0943bb85c Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 27 Feb 2009 07:03:00 +0000 Subject: [PATCH] build fix --- include/libtorrent/torrent_info.hpp | 1 - src/magnet_uri.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/libtorrent/torrent_info.hpp b/include/libtorrent/torrent_info.hpp index 85900c6a6..e9cd41256 100644 --- a/include/libtorrent/torrent_info.hpp +++ b/include/libtorrent/torrent_info.hpp @@ -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); diff --git a/src/magnet_uri.cpp b/src/magnet_uri.cpp index e83ee07cb..717d4fa95 100644 --- a/src/magnet_uri.cpp +++ b/src/magnet_uri.cpp @@ -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