forked from premiere/premiere-libtorrent
attempted no-exceptions build fix
This commit is contained in:
parent
97a8e3b895
commit
695589c6ef
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue