move set_alert_dispatch out of deprecated function ifdef block

This commit is contained in:
Arvid Norberg 2011-09-16 04:03:54 +00:00
parent 9a2fb2739c
commit c83865b8ac
1 changed files with 1 additions and 1 deletions

View File

@ -1000,12 +1000,12 @@ namespace libtorrent
TORRENT_SYNC_CALL_RET(int, num_connections);
return r;
}
#endif // TORRENT_NO_DEPRECATE
void session::set_alert_dispatch(boost::function<void(std::auto_ptr<alert>)> const& fun)
{
TORRENT_ASYNC_CALL1(set_alert_dispatch, fun);
}
#endif // TORRENT_NO_DEPRECATE
std::auto_ptr<alert> session::pop_alert()
{