disable exception-only functions when exceptions are disabled

This commit is contained in:
Arvid Norberg
2009-12-16 10:47:31 +00:00
parent 2055426c52
commit 2862d15dcc

View File

@@ -193,6 +193,7 @@ namespace libtorrent
#endif
torrent_handle add_torrent(add_torrent_params const& params, error_code& ec);
#ifndef BOOST_NO_EXCEPTIONS
#ifndef TORRENT_NO_DEPRECATE
// deprecated in 0.14
TORRENT_DEPRECATED_PREFIX
@@ -227,6 +228,7 @@ namespace libtorrent
, bool paused = false
, storage_constructor_type sc = default_storage_constructor
, void* userdata = 0) TORRENT_DEPRECATED;
#endif
#endif
session_proxy abort() { return session_proxy(m_impl); }