diff --git a/src/session.cpp b/src/session.cpp index d1a24f5c6..f8c8026cb 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -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)> const& fun) { TORRENT_ASYNC_CALL1(set_alert_dispatch, fun); } -#endif // TORRENT_NO_DEPRECATE std::auto_ptr session::pop_alert() {