attempted no-exceptions build fix

This commit is contained in:
Arvid Norberg 2014-08-28 07:09:24 +00:00
parent 97a8e3b895
commit 695589c6ef
1 changed files with 2 additions and 0 deletions

View File

@ -240,6 +240,7 @@ namespace libtorrent {
ptime m_timestamp;
};
#ifndef BOOST_NO_EXCEPTIONS
#ifndef TORRENT_NO_DEPRECATE
struct TORRENT_EXPORT unhandled_alert : std::exception
{
@ -298,6 +299,7 @@ namespace libtorrent {
#endif // BOOST_NO_TYPEID
#endif // TORRENT_NO_DEPRECATE
#endif // BOOST_NO_EXCEPTIONS
// When you get an alert, you can use ``alert_cast<>`` to attempt to cast the pointer to a
// more specific alert type, in order to query it for more information.