move set_alert_dispatch out of deprecated function ifdef block
This commit is contained in:
parent
9a2fb2739c
commit
c83865b8ac
|
@ -1000,12 +1000,12 @@ namespace libtorrent
|
||||||
TORRENT_SYNC_CALL_RET(int, num_connections);
|
TORRENT_SYNC_CALL_RET(int, num_connections);
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
#endif // TORRENT_NO_DEPRECATE
|
||||||
|
|
||||||
void session::set_alert_dispatch(boost::function<void(std::auto_ptr<alert>)> const& fun)
|
void session::set_alert_dispatch(boost::function<void(std::auto_ptr<alert>)> const& fun)
|
||||||
{
|
{
|
||||||
TORRENT_ASYNC_CALL1(set_alert_dispatch, fun);
|
TORRENT_ASYNC_CALL1(set_alert_dispatch, fun);
|
||||||
}
|
}
|
||||||
#endif // TORRENT_NO_DEPRECATE
|
|
||||||
|
|
||||||
std::auto_ptr<alert> session::pop_alert()
|
std::auto_ptr<alert> session::pop_alert()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue