System noexcept 1.1 (#715)
fix building with boost that doesn't define BOOST_SYSTEM_NOEXCEPT
This commit is contained in:
parent
c292696dcb
commit
a604e68f11
|
@ -50,6 +50,10 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
#include "libtorrent/aux_/disable_warnings_pop.hpp"
|
||||
|
||||
#ifndef BOOST_SYSTEM_NOEXCEPT
|
||||
#define BOOST_SYSTEM_NOEXCEPT TORRENT_EXCEPTION_THROW_SPECIFIER
|
||||
#endif
|
||||
|
||||
namespace libtorrent
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in New Issue