From 74ab89e6f15560db8fab7570674e453c66343b4f Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 24 Feb 2015 02:00:17 +0000 Subject: [PATCH] fix python build --- bindings/python/src/alert.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/python/src/alert.cpp b/bindings/python/src/alert.cpp index 73fa441ce..1f214479c 100644 --- a/bindings/python/src/alert.cpp +++ b/bindings/python/src/alert.cpp @@ -286,7 +286,9 @@ void bind_alert() class_, noncopyable>( "block_downloading_alert", no_init) +#ifndef TORRENT_NO_DEPRECATE .def_readonly("peer_speedmsg", &block_downloading_alert::peer_speedmsg) +#endif .def_readonly("block_index", &block_downloading_alert::block_index) .def_readonly("piece_index", &block_downloading_alert::piece_index) ;