System noexcept 1.1 (#715)

fix building with boost that doesn't define BOOST_SYSTEM_NOEXCEPT
This commit is contained in:
Arvid Norberg 2016-05-17 01:23:58 -04:00
parent c292696dcb
commit a604e68f11
1 changed files with 4 additions and 0 deletions

View File

@ -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
{