diff --git a/include/libtorrent/entry.hpp b/include/libtorrent/entry.hpp index 6e84cef7e..b1f899c93 100644 --- a/include/libtorrent/entry.hpp +++ b/include/libtorrent/entry.hpp @@ -307,7 +307,7 @@ namespace libtorrent #ifndef BOOST_NO_EXCEPTIONS // internal - BOOST_NORETURN inline void throw_type_error() + TORRENT_NO_RETURN inline void throw_type_error() { throw libtorrent_exception(error_code(errors::invalid_entry_type , get_libtorrent_category()));