From c83865b8ac495866be0e167343db0bdb8a23d994 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 16 Sep 2011 04:03:54 +0000 Subject: [PATCH] move set_alert_dispatch out of deprecated function ifdef block --- src/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {