]>
Commit | Line | Data |
---|---|---|
59ce9828 JR |
1 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gnuradio-runtime/lib/block.cc gnuradio-3.8.0.0/gnuradio-runtime/lib/block.cc |
2 | --- gnuradio-3.8.0.0.org/gnuradio-runtime/lib/block.cc 2019-08-09 23:40:34.000000000 +0200 | |
3 | +++ gnuradio-3.8.0.0/gnuradio-runtime/lib/block.cc 2021-03-05 21:17:40.996626719 +0100 | |
4 | @@ -61,7 +61,7 @@ block::block(const std::string& name, | |
8621df22 JB |
5 | { |
6 | global_block_registry.register_primitive(alias(), this); | |
7 | message_port_register_in(d_system_port); | |
8 | - set_msg_handler(d_system_port, boost::bind(&block::system_handler, this, _1)); | |
9 | + set_msg_handler(d_system_port, boost::bind(&block::system_handler, this, boost::placeholders::_1)); | |
10 | ||
11 | configure_default_loggers(d_logger, d_debug_logger, symbol_name()); | |
12 | } | |
59ce9828 JR |
13 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-analog/lib/sig_source_impl.cc gnuradio-3.8.0.0/gr-analog/lib/sig_source_impl.cc |
14 | --- gnuradio-3.8.0.0.org/gr-analog/lib/sig_source_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
15 | +++ gnuradio-3.8.0.0/gr-analog/lib/sig_source_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
16 | @@ -67,7 +67,7 @@ sig_source_impl<T>::sig_source_impl(doub | |
17 | this->set_phase(phase); | |
18 | this->message_port_register_in(pmt::mp("freq")); | |
19 | this->set_msg_handler(pmt::mp("freq"), | |
20 | - boost::bind(&sig_source_impl<T>::set_frequency_msg, this, _1)); | |
21 | + boost::bind(&sig_source_impl<T>::set_frequency_msg, this, boost::placeholders::_1)); | |
8621df22 JB |
22 | } |
23 | ||
24 | template <class T> | |
59ce9828 JR |
25 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-blocks/lib/copy_impl.cc gnuradio-3.8.0.0/gr-blocks/lib/copy_impl.cc |
26 | --- gnuradio-3.8.0.0.org/gr-blocks/lib/copy_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
27 | +++ gnuradio-3.8.0.0/gr-blocks/lib/copy_impl.cc 2021-03-05 21:17:40.996626719 +0100 | |
28 | @@ -44,7 +44,7 @@ copy_impl::copy_impl(size_t itemsize) | |
8621df22 JB |
29 | d_enabled(true) |
30 | { | |
31 | message_port_register_in(pmt::mp("en")); | |
32 | - set_msg_handler(pmt::mp("en"), boost::bind(©_impl::handle_enable, this, _1)); | |
33 | + set_msg_handler(pmt::mp("en"), boost::bind(©_impl::handle_enable, this, boost::placeholders::_1)); | |
34 | } | |
35 | ||
36 | copy_impl::~copy_impl() {} | |
59ce9828 JR |
37 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-blocks/lib/message_debug_impl.cc gnuradio-3.8.0.0/gr-blocks/lib/message_debug_impl.cc |
38 | --- gnuradio-3.8.0.0.org/gr-blocks/lib/message_debug_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
39 | +++ gnuradio-3.8.0.0/gr-blocks/lib/message_debug_impl.cc 2021-03-05 21:17:40.996626719 +0100 | |
40 | @@ -90,14 +90,14 @@ message_debug_impl::message_debug_impl() | |
8621df22 JB |
41 | : block("message_debug", io_signature::make(0, 0, 0), io_signature::make(0, 0, 0)) |
42 | { | |
43 | message_port_register_in(pmt::mp("print")); | |
44 | - set_msg_handler(pmt::mp("print"), boost::bind(&message_debug_impl::print, this, _1)); | |
45 | + set_msg_handler(pmt::mp("print"), boost::bind(&message_debug_impl::print, this, boost::placeholders::_1)); | |
46 | ||
47 | message_port_register_in(pmt::mp("store")); | |
48 | - set_msg_handler(pmt::mp("store"), boost::bind(&message_debug_impl::store, this, _1)); | |
49 | + set_msg_handler(pmt::mp("store"), boost::bind(&message_debug_impl::store, this, boost::placeholders::_1)); | |
50 | ||
51 | message_port_register_in(pmt::mp("print_pdu")); | |
52 | set_msg_handler(pmt::mp("print_pdu"), | |
53 | - boost::bind(&message_debug_impl::print_pdu, this, _1)); | |
54 | + boost::bind(&message_debug_impl::print_pdu, this, boost::placeholders::_1)); | |
55 | } | |
56 | ||
57 | message_debug_impl::~message_debug_impl() {} | |
59ce9828 JR |
58 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-blocks/lib/message_strobe_impl.cc gnuradio-3.8.0.0/gr-blocks/lib/message_strobe_impl.cc |
59 | --- gnuradio-3.8.0.0.org/gr-blocks/lib/message_strobe_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
60 | +++ gnuradio-3.8.0.0/gr-blocks/lib/message_strobe_impl.cc 2021-03-05 21:17:40.996626719 +0100 | |
61 | @@ -54,7 +54,7 @@ message_strobe_impl::message_strobe_impl | |
8621df22 JB |
62 | |
63 | message_port_register_in(pmt::mp("set_msg")); | |
64 | set_msg_handler(pmt::mp("set_msg"), | |
65 | - boost::bind(&message_strobe_impl::set_msg, this, _1)); | |
66 | + boost::bind(&message_strobe_impl::set_msg, this, boost::placeholders::_1)); | |
67 | } | |
68 | ||
69 | message_strobe_impl::~message_strobe_impl() {} | |
59ce9828 JR |
70 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-blocks/lib/message_strobe_random_impl.cc gnuradio-3.8.0.0/gr-blocks/lib/message_strobe_random_impl.cc |
71 | --- gnuradio-3.8.0.0.org/gr-blocks/lib/message_strobe_random_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
72 | +++ gnuradio-3.8.0.0/gr-blocks/lib/message_strobe_random_impl.cc 2021-03-05 21:17:40.996626719 +0100 | |
73 | @@ -75,7 +75,7 @@ message_strobe_random_impl::message_stro | |
8621df22 JB |
74 | |
75 | message_port_register_in(pmt::mp("set_msg")); | |
76 | set_msg_handler(pmt::mp("set_msg"), | |
77 | - boost::bind(&message_strobe_random_impl::set_msg, this, _1)); | |
78 | + boost::bind(&message_strobe_random_impl::set_msg, this, boost::placeholders::_1)); | |
79 | } | |
80 | ||
81 | long message_strobe_random_impl::next_delay() | |
59ce9828 JR |
82 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-blocks/lib/multiply_matrix_impl.cc gnuradio-3.8.0.0/gr-blocks/lib/multiply_matrix_impl.cc |
83 | --- gnuradio-3.8.0.0.org/gr-blocks/lib/multiply_matrix_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
84 | +++ gnuradio-3.8.0.0/gr-blocks/lib/multiply_matrix_impl.cc 2021-03-05 21:17:40.996626719 +0100 | |
85 | @@ -237,7 +237,7 @@ multiply_matrix_impl<gr_complex>::multip | |
8621df22 JB |
86 | message_port_register_in(port_name); |
87 | set_msg_handler( | |
88 | port_name, | |
89 | - boost::bind(&multiply_matrix_impl<gr_complex>::msg_handler_A, this, _1)); | |
90 | + boost::bind(&multiply_matrix_impl<gr_complex>::msg_handler_A, this, boost::placeholders::_1)); | |
91 | } | |
92 | ||
93 | template <> | |
59ce9828 | 94 | @@ -257,7 +257,7 @@ multiply_matrix_impl<float>::multiply_ma |
8621df22 JB |
95 | pmt::pmt_t port_name = pmt::string_to_symbol("set_A"); |
96 | message_port_register_in(port_name); | |
97 | set_msg_handler(port_name, | |
98 | - boost::bind(&multiply_matrix_impl<float>::msg_handler_A, this, _1)); | |
99 | + boost::bind(&multiply_matrix_impl<float>::msg_handler_A, this, boost::placeholders::_1)); | |
100 | } | |
101 | ||
102 | ||
59ce9828 JR |
103 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-blocks/lib/mute_impl.cc gnuradio-3.8.0.0/gr-blocks/lib/mute_impl.cc |
104 | --- gnuradio-3.8.0.0.org/gr-blocks/lib/mute_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
105 | +++ gnuradio-3.8.0.0/gr-blocks/lib/mute_impl.cc 2021-03-05 21:17:40.996626719 +0100 | |
106 | @@ -47,7 +47,7 @@ mute_impl<T>::mute_impl(bool mute) | |
107 | { | |
108 | this->message_port_register_in(pmt::intern("set_mute")); | |
109 | this->set_msg_handler(pmt::intern("set_mute"), | |
110 | - boost::bind(&mute_impl<T>::set_mute_pmt, this, _1)); | |
111 | + boost::bind(&mute_impl<T>::set_mute_pmt, this, boost::placeholders::_1)); | |
112 | } | |
113 | ||
114 | template <class T> | |
115 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-blocks/lib/pdu_filter_impl.cc gnuradio-3.8.0.0/gr-blocks/lib/pdu_filter_impl.cc | |
116 | --- gnuradio-3.8.0.0.org/gr-blocks/lib/pdu_filter_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
117 | +++ gnuradio-3.8.0.0/gr-blocks/lib/pdu_filter_impl.cc 2021-03-05 21:17:40.996626719 +0100 | |
118 | @@ -45,7 +45,7 @@ pdu_filter_impl::pdu_filter_impl(pmt::pm | |
8621df22 JB |
119 | message_port_register_out(pdu::pdu_port_id()); |
120 | message_port_register_in(pdu::pdu_port_id()); | |
121 | set_msg_handler(pdu::pdu_port_id(), | |
122 | - boost::bind(&pdu_filter_impl::handle_msg, this, _1)); | |
123 | + boost::bind(&pdu_filter_impl::handle_msg, this, boost::placeholders::_1)); | |
124 | } | |
125 | ||
126 | void pdu_filter_impl::handle_msg(pmt::pmt_t pdu) | |
59ce9828 JR |
127 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-blocks/lib/pdu_remove_impl.cc gnuradio-3.8.0.0/gr-blocks/lib/pdu_remove_impl.cc |
128 | --- gnuradio-3.8.0.0.org/gr-blocks/lib/pdu_remove_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
129 | +++ gnuradio-3.8.0.0/gr-blocks/lib/pdu_remove_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
130 | @@ -43,7 +43,7 @@ pdu_remove_impl::pdu_remove_impl(pmt::pm | |
8621df22 JB |
131 | message_port_register_out(pdu::pdu_port_id()); |
132 | message_port_register_in(pdu::pdu_port_id()); | |
133 | set_msg_handler(pdu::pdu_port_id(), | |
134 | - boost::bind(&pdu_remove_impl::handle_msg, this, _1)); | |
135 | + boost::bind(&pdu_remove_impl::handle_msg, this, boost::placeholders::_1)); | |
136 | } | |
137 | ||
138 | void pdu_remove_impl::handle_msg(pmt::pmt_t pdu) | |
59ce9828 JR |
139 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-blocks/lib/pdu_set_impl.cc gnuradio-3.8.0.0/gr-blocks/lib/pdu_set_impl.cc |
140 | --- gnuradio-3.8.0.0.org/gr-blocks/lib/pdu_set_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
141 | +++ gnuradio-3.8.0.0/gr-blocks/lib/pdu_set_impl.cc 2021-03-05 21:17:40.996626719 +0100 | |
142 | @@ -43,7 +43,7 @@ pdu_set_impl::pdu_set_impl(pmt::pmt_t k, | |
143 | { | |
144 | message_port_register_out(pdu::pdu_port_id()); | |
145 | message_port_register_in(pdu::pdu_port_id()); | |
146 | - set_msg_handler(pdu::pdu_port_id(), boost::bind(&pdu_set_impl::handle_msg, this, _1)); | |
147 | + set_msg_handler(pdu::pdu_port_id(), boost::bind(&pdu_set_impl::handle_msg, this, boost::placeholders::_1)); | |
148 | } | |
149 | ||
150 | void pdu_set_impl::handle_msg(pmt::pmt_t pdu) | |
151 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-blocks/lib/random_pdu_impl.cc gnuradio-3.8.0.0/gr-blocks/lib/random_pdu_impl.cc | |
152 | --- gnuradio-3.8.0.0.org/gr-blocks/lib/random_pdu_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
153 | +++ gnuradio-3.8.0.0/gr-blocks/lib/random_pdu_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
154 | @@ -53,7 +53,7 @@ random_pdu_impl::random_pdu_impl(int min | |
8621df22 JB |
155 | message_port_register_out(pdu::pdu_port_id()); |
156 | message_port_register_in(pmt::mp("generate")); | |
157 | set_msg_handler(pmt::mp("generate"), | |
158 | - boost::bind(&random_pdu_impl::generate_pdu, this, _1)); | |
159 | + boost::bind(&random_pdu_impl::generate_pdu, this, boost::placeholders::_1)); | |
160 | if (length_modulo < 1) | |
161 | throw std::runtime_error("length_module must be >= 1"); | |
162 | if (max_items < length_modulo) | |
59ce9828 JR |
163 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-blocks/lib/repeat_impl.cc gnuradio-3.8.0.0/gr-blocks/lib/repeat_impl.cc |
164 | --- gnuradio-3.8.0.0.org/gr-blocks/lib/repeat_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
165 | +++ gnuradio-3.8.0.0/gr-blocks/lib/repeat_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
166 | @@ -45,7 +45,7 @@ repeat_impl::repeat_impl(size_t itemsize | |
8621df22 JB |
167 | { |
168 | message_port_register_in(pmt::mp("interpolation")); | |
169 | set_msg_handler(pmt::mp("interpolation"), | |
170 | - boost::bind(&repeat_impl::msg_set_interpolation, this, _1)); | |
171 | + boost::bind(&repeat_impl::msg_set_interpolation, this, boost::placeholders::_1)); | |
172 | } | |
173 | ||
174 | void repeat_impl::msg_set_interpolation(pmt::pmt_t msg) | |
59ce9828 JR |
175 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-blocks/lib/socket_pdu_impl.cc gnuradio-3.8.0.0/gr-blocks/lib/socket_pdu_impl.cc |
176 | --- gnuradio-3.8.0.0.org/gr-blocks/lib/socket_pdu_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
177 | +++ gnuradio-3.8.0.0/gr-blocks/lib/socket_pdu_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
178 | @@ -101,7 +101,7 @@ socket_pdu_impl::socket_pdu_impl(std::st | |
8621df22 JB |
179 | start_tcp_accept(); |
180 | ||
181 | set_msg_handler(pdu::pdu_port_id(), | |
182 | - boost::bind(&socket_pdu_impl::tcp_server_send, this, _1)); | |
183 | + boost::bind(&socket_pdu_impl::tcp_server_send, this, boost::placeholders::_1)); | |
184 | } else if (type == "TCP_CLIENT") { | |
185 | boost::system::error_code error = boost::asio::error::host_not_found; | |
186 | d_tcp_socket.reset(new boost::asio::ip::tcp::socket(d_io_service)); | |
59ce9828 | 187 | @@ -111,7 +111,7 @@ socket_pdu_impl::socket_pdu_impl(std::st |
8621df22 JB |
188 | d_tcp_socket->set_option(boost::asio::ip::tcp::no_delay(d_tcp_no_delay)); |
189 | ||
190 | set_msg_handler(pdu::pdu_port_id(), | |
191 | - boost::bind(&socket_pdu_impl::tcp_client_send, this, _1)); | |
192 | + boost::bind(&socket_pdu_impl::tcp_client_send, this, boost::placeholders::_1)); | |
193 | ||
194 | d_tcp_socket->async_read_some( | |
195 | boost::asio::buffer(d_rxbuf), | |
59ce9828 | 196 | @@ -131,7 +131,7 @@ socket_pdu_impl::socket_pdu_impl(std::st |
8621df22 JB |
197 | boost::asio::placeholders::bytes_transferred)); |
198 | ||
199 | set_msg_handler(pdu::pdu_port_id(), | |
200 | - boost::bind(&socket_pdu_impl::udp_send, this, _1)); | |
201 | + boost::bind(&socket_pdu_impl::udp_send, this, boost::placeholders::_1)); | |
202 | } else if (type == "UDP_CLIENT") { | |
203 | d_udp_socket.reset( | |
204 | new boost::asio::ip::udp::socket(d_io_service, d_udp_endpoint)); | |
59ce9828 | 205 | @@ -144,7 +144,7 @@ socket_pdu_impl::socket_pdu_impl(std::st |
8621df22 JB |
206 | boost::asio::placeholders::bytes_transferred)); |
207 | ||
208 | set_msg_handler(pdu::pdu_port_id(), | |
209 | - boost::bind(&socket_pdu_impl::udp_send, this, _1)); | |
210 | + boost::bind(&socket_pdu_impl::udp_send, this, boost::placeholders::_1)); | |
211 | } else | |
212 | throw std::runtime_error("gr::blocks:socket_pdu: unknown socket type"); | |
213 | ||
59ce9828 JR |
214 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-blocks/lib/tagged_stream_multiply_length_impl.cc gnuradio-3.8.0.0/gr-blocks/lib/tagged_stream_multiply_length_impl.cc |
215 | --- gnuradio-3.8.0.0.org/gr-blocks/lib/tagged_stream_multiply_length_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
216 | +++ gnuradio-3.8.0.0/gr-blocks/lib/tagged_stream_multiply_length_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
217 | @@ -51,7 +51,7 @@ tagged_stream_multiply_length_impl::tagg | |
8621df22 JB |
218 | message_port_register_in(pmt::intern("set_scalar")); |
219 | set_msg_handler( | |
220 | pmt::intern("set_scalar"), | |
221 | - boost::bind(&tagged_stream_multiply_length_impl::set_scalar_pmt, this, _1)); | |
222 | + boost::bind(&tagged_stream_multiply_length_impl::set_scalar_pmt, this, boost::placeholders::_1)); | |
223 | } | |
224 | ||
225 | tagged_stream_multiply_length_impl::~tagged_stream_multiply_length_impl() {} | |
59ce9828 JR |
226 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-blocks/lib/tuntap_pdu_impl.cc gnuradio-3.8.0.0/gr-blocks/lib/tuntap_pdu_impl.cc |
227 | --- gnuradio-3.8.0.0.org/gr-blocks/lib/tuntap_pdu_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
228 | +++ gnuradio-3.8.0.0/gr-blocks/lib/tuntap_pdu_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
229 | @@ -96,7 +96,7 @@ tuntap_pdu_impl::tuntap_pdu_impl(std::st | |
8621df22 JB |
230 | |
231 | // set up input message port | |
232 | message_port_register_in(pdu::pdu_port_id()); | |
233 | - set_msg_handler(pdu::pdu_port_id(), boost::bind(&tuntap_pdu_impl::send, this, _1)); | |
234 | + set_msg_handler(pdu::pdu_port_id(), boost::bind(&tuntap_pdu_impl::send, this, boost::placeholders::_1)); | |
235 | } | |
236 | ||
237 | int tuntap_pdu_impl::tun_alloc(char* dev, int flags) | |
59ce9828 JR |
238 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-blocks/lib/wavfile.cc gnuradio-3.8.0.0/gr-blocks/lib/wavfile.cc |
239 | --- gnuradio-3.8.0.0.org/gr-blocks/lib/wavfile.cc 2019-08-09 23:40:34.000000000 +0200 | |
240 | +++ gnuradio-3.8.0.0/gr-blocks/lib/wavfile.cc 2021-03-05 21:17:40.996626719 +0100 | |
241 | @@ -26,7 +26,7 @@ | |
8621df22 | 242 | |
59ce9828 JR |
243 | #include <gnuradio/blocks/wavfile.h> |
244 | #include <stdint.h> | |
245 | -#include <boost/detail/endian.hpp> //BOOST_BIG_ENDIAN | |
246 | +#include <boost/predef/other/endian.h> | |
247 | #include <cstring> | |
8621df22 | 248 | |
59ce9828 JR |
249 | namespace gr { |
250 | @@ -35,7 +35,7 @@ namespace blocks { | |
8621df22 | 251 | |
59ce9828 JR |
252 | // Basically, this is the opposite of htonx() and ntohx() |
253 | // Define host to/from worknet (little endian) short and long | |
254 | -#ifdef BOOST_BIG_ENDIAN | |
255 | +#if BOOST_ENDIAN_BIG_BYTE | |
8621df22 | 256 | |
59ce9828 | 257 | static inline uint16_t __gri_wav_bs16(uint16_t x) { return (x >> 8) | (x << 8); } |
8621df22 | 258 | |
59ce9828 JR |
259 | @@ -57,7 +57,7 @@ static inline uint32_t __gri_wav_bs32(ui |
260 | #define htows(x) uint16_t(x) | |
261 | #define wtohs(x) uint16_t(x) | |
8621df22 | 262 | |
59ce9828 JR |
263 | -#endif // BOOST_BIG_ENDIAN |
264 | +#endif // BOOST_ENDIAN_BIG_BYTE | |
8621df22 | 265 | |
59ce9828 JR |
266 | // WAV files are always little-endian, so we need some byte switching macros |
267 | static inline uint32_t host_to_wav(uint32_t x) { return htowl(x); } | |
268 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-digital/lib/chunks_to_symbols_impl.cc gnuradio-3.8.0.0/gr-digital/lib/chunks_to_symbols_impl.cc | |
269 | --- gnuradio-3.8.0.0.org/gr-digital/lib/chunks_to_symbols_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
270 | +++ gnuradio-3.8.0.0/gr-digital/lib/chunks_to_symbols_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
271 | @@ -54,7 +54,7 @@ chunks_to_symbols_impl<IN_T, OUT_T>::chu | |
8621df22 JB |
272 | this->set_msg_handler( |
273 | pmt::mp("set_symbol_table"), | |
274 | boost::bind( | |
275 | - &chunks_to_symbols_impl<IN_T, OUT_T>::handle_set_symbol_table, this, _1)); | |
276 | + &chunks_to_symbols_impl<IN_T, OUT_T>::handle_set_symbol_table, this, boost::placeholders::_1)); | |
277 | } | |
278 | ||
279 | template <class IN_T, class OUT_T> | |
59ce9828 JR |
280 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-digital/lib/constellation_receiver_cb_impl.cc gnuradio-3.8.0.0/gr-digital/lib/constellation_receiver_cb_impl.cc |
281 | --- gnuradio-3.8.0.0.org/gr-digital/lib/constellation_receiver_cb_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
282 | +++ gnuradio-3.8.0.0/gr-digital/lib/constellation_receiver_cb_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
283 | @@ -63,12 +63,12 @@ constellation_receiver_cb_impl::constell | |
8621df22 JB |
284 | message_port_register_in(pmt::mp("set_constellation")); |
285 | set_msg_handler( | |
286 | pmt::mp("set_constellation"), | |
287 | - boost::bind(&constellation_receiver_cb_impl::handle_set_constellation, this, _1)); | |
288 | + boost::bind(&constellation_receiver_cb_impl::handle_set_constellation, this, boost::placeholders::_1)); | |
289 | ||
290 | message_port_register_in(pmt::mp("rotate_phase")); | |
291 | set_msg_handler( | |
292 | pmt::mp("rotate_phase"), | |
293 | - boost::bind(&constellation_receiver_cb_impl::handle_rotate_phase, this, _1)); | |
294 | + boost::bind(&constellation_receiver_cb_impl::handle_rotate_phase, this, boost::placeholders::_1)); | |
295 | } | |
296 | ||
297 | constellation_receiver_cb_impl::~constellation_receiver_cb_impl() {} | |
59ce9828 JR |
298 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-digital/lib/costas_loop_cc_impl.cc gnuradio-3.8.0.0/gr-digital/lib/costas_loop_cc_impl.cc |
299 | --- gnuradio-3.8.0.0.org/gr-digital/lib/costas_loop_cc_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
300 | +++ gnuradio-3.8.0.0/gr-digital/lib/costas_loop_cc_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
301 | @@ -82,7 +82,7 @@ costas_loop_cc_impl::costas_loop_cc_impl | |
8621df22 JB |
302 | |
303 | message_port_register_in(pmt::mp("noise")); | |
304 | set_msg_handler(pmt::mp("noise"), | |
305 | - boost::bind(&costas_loop_cc_impl::handle_set_noise, this, _1)); | |
306 | + boost::bind(&costas_loop_cc_impl::handle_set_noise, this, boost::placeholders::_1)); | |
307 | } | |
308 | ||
309 | costas_loop_cc_impl::~costas_loop_cc_impl() {} | |
59ce9828 JR |
310 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-digital/lib/crc32_async_bb_impl.cc gnuradio-3.8.0.0/gr-digital/lib/crc32_async_bb_impl.cc |
311 | --- gnuradio-3.8.0.0.org/gr-digital/lib/crc32_async_bb_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
312 | +++ gnuradio-3.8.0.0/gr-digital/lib/crc32_async_bb_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
313 | @@ -48,9 +48,9 @@ crc32_async_bb_impl::crc32_async_bb_impl | |
8621df22 JB |
314 | message_port_register_out(d_out_port); |
315 | ||
316 | if (check) | |
317 | - set_msg_handler(d_in_port, boost::bind(&crc32_async_bb_impl::check, this, _1)); | |
318 | + set_msg_handler(d_in_port, boost::bind(&crc32_async_bb_impl::check, this, boost::placeholders::_1)); | |
319 | else | |
320 | - set_msg_handler(d_in_port, boost::bind(&crc32_async_bb_impl::calc, this, _1)); | |
321 | + set_msg_handler(d_in_port, boost::bind(&crc32_async_bb_impl::calc, this, boost::placeholders::_1)); | |
322 | } | |
323 | ||
324 | crc32_async_bb_impl::~crc32_async_bb_impl() {} | |
59ce9828 JR |
325 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-digital/lib/header_payload_demux_impl.cc gnuradio-3.8.0.0/gr-digital/lib/header_payload_demux_impl.cc |
326 | --- gnuradio-3.8.0.0.org/gr-digital/lib/header_payload_demux_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
327 | +++ gnuradio-3.8.0.0/gr-digital/lib/header_payload_demux_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
328 | @@ -152,7 +152,7 @@ header_payload_demux_impl::header_payloa | |
8621df22 JB |
329 | message_port_register_in(msg_port_id()); |
330 | set_msg_handler( | |
331 | msg_port_id(), | |
332 | - boost::bind(&header_payload_demux_impl::parse_header_data_msg, this, _1)); | |
333 | + boost::bind(&header_payload_demux_impl::parse_header_data_msg, this, boost::placeholders::_1)); | |
334 | for (size_t i = 0; i < special_tags.size(); i++) { | |
335 | d_special_tags.push_back(pmt::string_to_symbol(special_tags[i])); | |
336 | d_special_tags_last_value.push_back(pmt::PMT_NIL); | |
59ce9828 JR |
337 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-digital/lib/protocol_formatter_async_impl.cc gnuradio-3.8.0.0/gr-digital/lib/protocol_formatter_async_impl.cc |
338 | --- gnuradio-3.8.0.0.org/gr-digital/lib/protocol_formatter_async_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
339 | +++ gnuradio-3.8.0.0/gr-digital/lib/protocol_formatter_async_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
340 | @@ -55,7 +55,7 @@ protocol_formatter_async_impl::protocol_ | |
8621df22 JB |
341 | message_port_register_out(d_pld_port); |
342 | ||
343 | set_msg_handler(d_in_port, | |
344 | - boost::bind(&protocol_formatter_async_impl::append, this, _1)); | |
345 | + boost::bind(&protocol_formatter_async_impl::append, this, boost::placeholders::_1)); | |
346 | } | |
347 | ||
348 | protocol_formatter_async_impl::~protocol_formatter_async_impl() {} | |
59ce9828 JR |
349 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-fec/lib/async_decoder_impl.cc gnuradio-3.8.0.0/gr-fec/lib/async_decoder_impl.cc |
350 | --- gnuradio-3.8.0.0.org/gr-fec/lib/async_decoder_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
351 | +++ gnuradio-3.8.0.0/gr-fec/lib/async_decoder_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
352 | @@ -65,10 +65,10 @@ async_decoder_impl::async_decoder_impl(g | |
353 | if (d_packed) { | |
354 | d_pack = new blocks::kernel::pack_k_bits(8); | |
355 | set_msg_handler(d_in_port, | |
356 | - boost::bind(&async_decoder_impl::decode_packed, this, _1)); | |
357 | + boost::bind(&async_decoder_impl::decode_packed, this, boost::placeholders::_1)); | |
358 | } else { | |
359 | set_msg_handler(d_in_port, | |
360 | - boost::bind(&async_decoder_impl::decode_unpacked, this, _1)); | |
361 | + boost::bind(&async_decoder_impl::decode_unpacked, this, boost::placeholders::_1)); | |
362 | } | |
8621df22 | 363 | |
59ce9828 JR |
364 | // The maximum frame size is set by the initial frame size of the decoder. |
365 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-fec/lib/async_encoder_impl.cc gnuradio-3.8.0.0/gr-fec/lib/async_encoder_impl.cc | |
366 | --- gnuradio-3.8.0.0.org/gr-fec/lib/async_encoder_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
367 | +++ gnuradio-3.8.0.0/gr-fec/lib/async_encoder_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
368 | @@ -64,7 +64,7 @@ async_encoder_impl::async_encoder_impl(g | |
8621df22 | 369 | |
59ce9828 JR |
370 | if (d_packed) { |
371 | set_msg_handler(d_in_port, | |
372 | - boost::bind(&async_encoder_impl::encode_packed, this, _1)); | |
373 | + boost::bind(&async_encoder_impl::encode_packed, this, boost::placeholders::_1)); | |
8621df22 | 374 | |
59ce9828 | 375 | d_unpack = new blocks::kernel::unpack_k_bits(8); |
8621df22 | 376 | |
59ce9828 | 377 | @@ -74,7 +74,7 @@ async_encoder_impl::async_encoder_impl(g |
8621df22 | 378 | |
59ce9828 JR |
379 | } else { |
380 | set_msg_handler(d_in_port, | |
381 | - boost::bind(&async_encoder_impl::encode_unpacked, this, _1)); | |
382 | + boost::bind(&async_encoder_impl::encode_unpacked, this, boost::placeholders::_1)); | |
383 | } | |
8621df22 | 384 | |
59ce9828 JR |
385 | if (d_packed || (strncmp(d_encoder->get_input_conversion(), "pack", 4) == 0)) { |
386 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-filter/lib/freq_xlating_fir_filter_impl.cc gnuradio-3.8.0.0/gr-filter/lib/freq_xlating_fir_filter_impl.cc | |
387 | --- gnuradio-3.8.0.0.org/gr-filter/lib/freq_xlating_fir_filter_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
388 | +++ gnuradio-3.8.0.0/gr-filter/lib/freq_xlating_fir_filter_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
389 | @@ -72,7 +72,7 @@ freq_xlating_fir_filter_impl<IN_T, OUT_T | |
390 | boost::bind( | |
391 | &freq_xlating_fir_filter_impl<IN_T, OUT_T, TAP_T>::handle_set_center_freq, | |
392 | this, | |
393 | - _1)); | |
394 | + boost::placeholders::_1)); | |
395 | } | |
8621df22 | 396 | |
59ce9828 JR |
397 | template <class IN_T, class OUT_T, class TAP_T> |
398 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-filter/lib/mmse_resampler_cc_impl.cc gnuradio-3.8.0.0/gr-filter/lib/mmse_resampler_cc_impl.cc | |
399 | --- gnuradio-3.8.0.0.org/gr-filter/lib/mmse_resampler_cc_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
400 | +++ gnuradio-3.8.0.0/gr-filter/lib/mmse_resampler_cc_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
401 | @@ -53,7 +53,7 @@ mmse_resampler_cc_impl::mmse_resampler_c | |
402 | set_inverse_relative_rate(d_mu_inc); | |
403 | message_port_register_in(pmt::intern("msg_in")); | |
404 | set_msg_handler(pmt::intern("msg_in"), | |
405 | - boost::bind(&mmse_resampler_cc_impl::handle_msg, this, _1)); | |
406 | + boost::bind(&mmse_resampler_cc_impl::handle_msg, this, boost::placeholders::_1)); | |
407 | } | |
408 | ||
409 | mmse_resampler_cc_impl::~mmse_resampler_cc_impl() { delete d_resamp; } | |
410 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-filter/lib/mmse_resampler_ff_impl.cc gnuradio-3.8.0.0/gr-filter/lib/mmse_resampler_ff_impl.cc | |
411 | --- gnuradio-3.8.0.0.org/gr-filter/lib/mmse_resampler_ff_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
412 | +++ gnuradio-3.8.0.0/gr-filter/lib/mmse_resampler_ff_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
413 | @@ -54,7 +54,7 @@ mmse_resampler_ff_impl::mmse_resampler_f | |
8621df22 | 414 | |
59ce9828 JR |
415 | message_port_register_in(pmt::intern("msg_in")); |
416 | set_msg_handler(pmt::intern("msg_in"), | |
417 | - boost::bind(&mmse_resampler_ff_impl::handle_msg, this, _1)); | |
418 | + boost::bind(&mmse_resampler_ff_impl::handle_msg, this, boost::placeholders::_1)); | |
419 | } | |
420 | ||
421 | mmse_resampler_ff_impl::~mmse_resampler_ff_impl() { delete d_resamp; } | |
422 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-qtgui/lib/const_sink_c_impl.cc gnuradio-3.8.0.0/gr-qtgui/lib/const_sink_c_impl.cc | |
423 | --- gnuradio-3.8.0.0.org/gr-qtgui/lib/const_sink_c_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
424 | +++ gnuradio-3.8.0.0/gr-qtgui/lib/const_sink_c_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
425 | @@ -70,7 +70,7 @@ const_sink_c_impl::const_sink_c_impl(int | |
8621df22 JB |
426 | // setup PDU handling input port |
427 | message_port_register_in(pmt::mp("in")); | |
428 | set_msg_handler(pmt::mp("in"), | |
59ce9828 JR |
429 | - boost::bind(&const_sink_c_impl::handle_pdus, this, _1)); |
430 | + boost::bind(&const_sink_c_impl::handle_pdus, this, boost::placeholders::_1)); | |
8621df22 | 431 | |
59ce9828 JR |
432 | for (int i = 0; i < d_nconnections; i++) { |
433 | d_residbufs_real.push_back( | |
434 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-qtgui/lib/edit_box_msg_impl.cc gnuradio-3.8.0.0/gr-qtgui/lib/edit_box_msg_impl.cc | |
435 | --- gnuradio-3.8.0.0.org/gr-qtgui/lib/edit_box_msg_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
436 | +++ gnuradio-3.8.0.0/gr-qtgui/lib/edit_box_msg_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
437 | @@ -158,7 +158,7 @@ edit_box_msg_impl::edit_box_msg_impl(dat | |
438 | message_port_register_out(d_port); | |
439 | message_port_register_in(pmt::mp("val")); | |
440 | ||
441 | - set_msg_handler(pmt::mp("val"), boost::bind(&edit_box_msg_impl::set_value, this, _1)); | |
442 | + set_msg_handler(pmt::mp("val"), boost::bind(&edit_box_msg_impl::set_value, this, boost::placeholders::_1)); | |
443 | } | |
444 | ||
445 | edit_box_msg_impl::~edit_box_msg_impl() | |
446 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-qtgui/lib/freq_sink_c_impl.cc gnuradio-3.8.0.0/gr-qtgui/lib/freq_sink_c_impl.cc | |
447 | --- gnuradio-3.8.0.0.org/gr-qtgui/lib/freq_sink_c_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
448 | +++ gnuradio-3.8.0.0/gr-qtgui/lib/freq_sink_c_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
449 | @@ -81,17 +81,17 @@ freq_sink_c_impl::freq_sink_c_impl(int f | |
8621df22 JB |
450 | |
451 | // setup bw input port | |
452 | message_port_register_in(d_port_bw); | |
453 | - set_msg_handler(d_port_bw, boost::bind(&freq_sink_c_impl::handle_set_bw, this, _1)); | |
454 | + set_msg_handler(d_port_bw, boost::bind(&freq_sink_c_impl::handle_set_bw, this, boost::placeholders::_1)); | |
455 | ||
456 | // setup output message port to post frequency when display is | |
457 | // double-clicked | |
458 | message_port_register_out(d_port); | |
459 | message_port_register_in(d_port); | |
460 | - set_msg_handler(d_port, boost::bind(&freq_sink_c_impl::handle_set_freq, this, _1)); | |
461 | + set_msg_handler(d_port, boost::bind(&freq_sink_c_impl::handle_set_freq, this, boost::placeholders::_1)); | |
462 | ||
463 | // setup PDU handling input port | |
464 | message_port_register_in(pmt::mp("in")); | |
465 | - set_msg_handler(pmt::mp("in"), boost::bind(&freq_sink_c_impl::handle_pdus, this, _1)); | |
466 | + set_msg_handler(pmt::mp("in"), boost::bind(&freq_sink_c_impl::handle_pdus, this, boost::placeholders::_1)); | |
467 | ||
468 | d_main_gui = NULL; | |
469 | ||
59ce9828 JR |
470 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-qtgui/lib/freq_sink_f_impl.cc gnuradio-3.8.0.0/gr-qtgui/lib/freq_sink_f_impl.cc |
471 | --- gnuradio-3.8.0.0.org/gr-qtgui/lib/freq_sink_f_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
472 | +++ gnuradio-3.8.0.0/gr-qtgui/lib/freq_sink_f_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
473 | @@ -82,17 +82,17 @@ freq_sink_f_impl::freq_sink_f_impl(int f | |
8621df22 JB |
474 | |
475 | // setup bw input port | |
476 | message_port_register_in(d_port_bw); | |
477 | - set_msg_handler(d_port_bw, boost::bind(&freq_sink_f_impl::handle_set_bw, this, _1)); | |
478 | + set_msg_handler(d_port_bw, boost::bind(&freq_sink_f_impl::handle_set_bw, this, boost::placeholders::_1)); | |
479 | ||
480 | // setup output message port to post frequency when display is | |
481 | // double-clicked | |
482 | message_port_register_out(d_port); | |
483 | message_port_register_in(d_port); | |
484 | - set_msg_handler(d_port, boost::bind(&freq_sink_f_impl::handle_set_freq, this, _1)); | |
485 | + set_msg_handler(d_port, boost::bind(&freq_sink_f_impl::handle_set_freq, this, boost::placeholders::_1)); | |
486 | ||
487 | // setup PDU handling input port | |
488 | message_port_register_in(pmt::mp("in")); | |
489 | - set_msg_handler(pmt::mp("in"), boost::bind(&freq_sink_f_impl::handle_pdus, this, _1)); | |
490 | + set_msg_handler(pmt::mp("in"), boost::bind(&freq_sink_f_impl::handle_pdus, this, boost::placeholders::_1)); | |
491 | ||
492 | d_main_gui = NULL; | |
493 | ||
59ce9828 JR |
494 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-qtgui/lib/histogram_sink_f_impl.cc gnuradio-3.8.0.0/gr-qtgui/lib/histogram_sink_f_impl.cc |
495 | --- gnuradio-3.8.0.0.org/gr-qtgui/lib/histogram_sink_f_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
496 | +++ gnuradio-3.8.0.0/gr-qtgui/lib/histogram_sink_f_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
497 | @@ -82,7 +82,7 @@ histogram_sink_f_impl::histogram_sink_f_ | |
8621df22 JB |
498 | // setup PDU handling input port |
499 | message_port_register_in(pmt::mp("in")); | |
500 | set_msg_handler(pmt::mp("in"), | |
59ce9828 JR |
501 | - boost::bind(&histogram_sink_f_impl::handle_pdus, this, _1)); |
502 | + boost::bind(&histogram_sink_f_impl::handle_pdus, this, boost::placeholders::_1)); | |
8621df22 | 503 | |
59ce9828 JR |
504 | // +1 for the PDU buffer |
505 | for (int i = 0; i < d_nconnections + 1; i++) { | |
506 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-qtgui/lib/sink_c_impl.cc gnuradio-3.8.0.0/gr-qtgui/lib/sink_c_impl.cc | |
507 | --- gnuradio-3.8.0.0.org/gr-qtgui/lib/sink_c_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
508 | +++ gnuradio-3.8.0.0/gr-qtgui/lib/sink_c_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
509 | @@ -96,7 +96,7 @@ sink_c_impl::sink_c_impl(int fftsize, | |
8621df22 JB |
510 | // double-clicked |
511 | message_port_register_out(d_port); | |
512 | message_port_register_in(d_port); | |
513 | - set_msg_handler(d_port, boost::bind(&sink_c_impl::handle_set_freq, this, _1)); | |
514 | + set_msg_handler(d_port, boost::bind(&sink_c_impl::handle_set_freq, this, boost::placeholders::_1)); | |
515 | ||
516 | d_main_gui = NULL; | |
517 | ||
59ce9828 JR |
518 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-qtgui/lib/sink_f_impl.cc gnuradio-3.8.0.0/gr-qtgui/lib/sink_f_impl.cc |
519 | --- gnuradio-3.8.0.0.org/gr-qtgui/lib/sink_f_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
520 | +++ gnuradio-3.8.0.0/gr-qtgui/lib/sink_f_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
521 | @@ -95,7 +95,7 @@ sink_f_impl::sink_f_impl(int fftsize, | |
522 | // double-clicked | |
523 | message_port_register_out(d_port); | |
524 | message_port_register_in(d_port); | |
525 | - set_msg_handler(d_port, boost::bind(&sink_f_impl::handle_set_freq, this, _1)); | |
526 | + set_msg_handler(d_port, boost::bind(&sink_f_impl::handle_set_freq, this, boost::placeholders::_1)); | |
527 | ||
528 | d_main_gui = NULL; | |
529 | ||
530 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-qtgui/lib/time_raster_sink_b_impl.cc gnuradio-3.8.0.0/gr-qtgui/lib/time_raster_sink_b_impl.cc | |
531 | --- gnuradio-3.8.0.0.org/gr-qtgui/lib/time_raster_sink_b_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
532 | +++ gnuradio-3.8.0.0/gr-qtgui/lib/time_raster_sink_b_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
533 | @@ -84,7 +84,7 @@ time_raster_sink_b_impl::time_raster_sin | |
534 | // setup PDU handling input port | |
535 | message_port_register_in(pmt::mp("in")); | |
536 | set_msg_handler(pmt::mp("in"), | |
537 | - boost::bind(&time_raster_sink_b_impl::handle_pdus, this, _1)); | |
538 | + boost::bind(&time_raster_sink_b_impl::handle_pdus, this, boost::placeholders::_1)); | |
539 | ||
540 | d_scale = 1.0f; | |
541 | ||
542 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-qtgui/lib/time_raster_sink_f_impl.cc gnuradio-3.8.0.0/gr-qtgui/lib/time_raster_sink_f_impl.cc | |
543 | --- gnuradio-3.8.0.0.org/gr-qtgui/lib/time_raster_sink_f_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
544 | +++ gnuradio-3.8.0.0/gr-qtgui/lib/time_raster_sink_f_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
545 | @@ -84,7 +84,7 @@ time_raster_sink_f_impl::time_raster_sin | |
546 | // setup PDU handling input port | |
547 | message_port_register_in(pmt::mp("in")); | |
548 | set_msg_handler(pmt::mp("in"), | |
549 | - boost::bind(&time_raster_sink_f_impl::handle_pdus, this, _1)); | |
550 | + boost::bind(&time_raster_sink_f_impl::handle_pdus, this, boost::placeholders::_1)); | |
551 | ||
552 | d_icols = static_cast<int>(ceil(d_cols)); | |
553 | d_tmpflt = (float*)volk_malloc(d_icols * sizeof(float), volk_get_alignment()); | |
554 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-qtgui/lib/time_sink_c_impl.cc gnuradio-3.8.0.0/gr-qtgui/lib/time_sink_c_impl.cc | |
555 | --- gnuradio-3.8.0.0.org/gr-qtgui/lib/time_sink_c_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
556 | +++ gnuradio-3.8.0.0/gr-qtgui/lib/time_sink_c_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
557 | @@ -79,7 +79,7 @@ time_sink_c_impl::time_sink_c_impl(int s | |
558 | ||
559 | // setup PDU handling input port | |
560 | message_port_register_in(pmt::mp("in")); | |
561 | - set_msg_handler(pmt::mp("in"), boost::bind(&time_sink_c_impl::handle_pdus, this, _1)); | |
562 | + set_msg_handler(pmt::mp("in"), boost::bind(&time_sink_c_impl::handle_pdus, this, boost::placeholders::_1)); | |
563 | ||
564 | // +2 for the PDU message buffers | |
565 | for (unsigned int n = 0; n < d_nconnections + 2; n++) { | |
566 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-qtgui/lib/time_sink_f_impl.cc gnuradio-3.8.0.0/gr-qtgui/lib/time_sink_f_impl.cc | |
567 | --- gnuradio-3.8.0.0.org/gr-qtgui/lib/time_sink_f_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
568 | +++ gnuradio-3.8.0.0/gr-qtgui/lib/time_sink_f_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
569 | @@ -80,7 +80,7 @@ time_sink_f_impl::time_sink_f_impl(int s | |
570 | ||
571 | // setup PDU handling input port | |
572 | message_port_register_in(pmt::mp("in")); | |
573 | - set_msg_handler(pmt::mp("in"), boost::bind(&time_sink_f_impl::handle_pdus, this, _1)); | |
574 | + set_msg_handler(pmt::mp("in"), boost::bind(&time_sink_f_impl::handle_pdus, this, boost::placeholders::_1)); | |
575 | ||
576 | // +1 for the PDU buffer | |
577 | for (unsigned int n = 0; n < d_nconnections + 1; n++) { | |
578 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-qtgui/lib/waterfall_sink_c_impl.cc gnuradio-3.8.0.0/gr-qtgui/lib/waterfall_sink_c_impl.cc | |
579 | --- gnuradio-3.8.0.0.org/gr-qtgui/lib/waterfall_sink_c_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
580 | +++ gnuradio-3.8.0.0/gr-qtgui/lib/waterfall_sink_c_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
581 | @@ -117,19 +117,19 @@ waterfall_sink_c_impl::waterfall_sink_c_ | |
8621df22 JB |
582 | // setup bw input port |
583 | message_port_register_in(d_port_bw); | |
584 | set_msg_handler(d_port_bw, | |
585 | - boost::bind(&waterfall_sink_c_impl::handle_set_bw, this, _1)); | |
586 | + boost::bind(&waterfall_sink_c_impl::handle_set_bw, this, boost::placeholders::_1)); | |
587 | ||
588 | // setup output message port to post frequency when display is | |
589 | // double-clicked | |
590 | message_port_register_out(d_port); | |
591 | message_port_register_in(d_port); | |
592 | set_msg_handler(d_port, | |
593 | - boost::bind(&waterfall_sink_c_impl::handle_set_freq, this, _1)); | |
594 | + boost::bind(&waterfall_sink_c_impl::handle_set_freq, this, boost::placeholders::_1)); | |
595 | ||
596 | // setup PDU handling input port | |
597 | message_port_register_in(pmt::mp("in")); | |
598 | set_msg_handler(pmt::mp("in"), | |
599 | - boost::bind(&waterfall_sink_c_impl::handle_pdus, this, _1)); | |
600 | + boost::bind(&waterfall_sink_c_impl::handle_pdus, this, boost::placeholders::_1)); | |
601 | } | |
602 | ||
603 | waterfall_sink_c_impl::~waterfall_sink_c_impl() | |
59ce9828 JR |
604 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-qtgui/lib/waterfall_sink_f_impl.cc gnuradio-3.8.0.0/gr-qtgui/lib/waterfall_sink_f_impl.cc |
605 | --- gnuradio-3.8.0.0.org/gr-qtgui/lib/waterfall_sink_f_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
606 | +++ gnuradio-3.8.0.0/gr-qtgui/lib/waterfall_sink_f_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
607 | @@ -116,19 +116,19 @@ waterfall_sink_f_impl::waterfall_sink_f_ | |
8621df22 JB |
608 | // setup bw input port |
609 | message_port_register_in(d_port_bw); | |
610 | set_msg_handler(d_port_bw, | |
611 | - boost::bind(&waterfall_sink_f_impl::handle_set_bw, this, _1)); | |
612 | + boost::bind(&waterfall_sink_f_impl::handle_set_bw, this, boost::placeholders::_1)); | |
613 | ||
614 | // setup output message port to post frequency when display is | |
615 | // double-clicked | |
616 | message_port_register_out(d_port); | |
617 | message_port_register_in(d_port); | |
618 | set_msg_handler(d_port, | |
619 | - boost::bind(&waterfall_sink_f_impl::handle_set_freq, this, _1)); | |
620 | + boost::bind(&waterfall_sink_f_impl::handle_set_freq, this, boost::placeholders::_1)); | |
621 | ||
622 | // setup PDU handling input port | |
623 | message_port_register_in(pmt::mp("in")); | |
624 | set_msg_handler(pmt::mp("in"), | |
625 | - boost::bind(&waterfall_sink_f_impl::handle_pdus, this, _1)); | |
626 | + boost::bind(&waterfall_sink_f_impl::handle_pdus, this, boost::placeholders::_1)); | |
627 | } | |
628 | ||
629 | waterfall_sink_f_impl::~waterfall_sink_f_impl() | |
59ce9828 JR |
630 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-zeromq/lib/pub_msg_sink_impl.cc gnuradio-3.8.0.0/gr-zeromq/lib/pub_msg_sink_impl.cc |
631 | --- gnuradio-3.8.0.0.org/gr-zeromq/lib/pub_msg_sink_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
632 | +++ gnuradio-3.8.0.0/gr-zeromq/lib/pub_msg_sink_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
633 | @@ -55,7 +55,7 @@ pub_msg_sink_impl::pub_msg_sink_impl(cha | |
8621df22 JB |
634 | d_socket->bind(address); |
635 | ||
636 | message_port_register_in(pmt::mp("in")); | |
637 | - set_msg_handler(pmt::mp("in"), boost::bind(&pub_msg_sink_impl::handler, this, _1)); | |
638 | + set_msg_handler(pmt::mp("in"), boost::bind(&pub_msg_sink_impl::handler, this, boost::placeholders::_1)); | |
639 | } | |
640 | ||
641 | pub_msg_sink_impl::~pub_msg_sink_impl() | |
59ce9828 JR |
642 | diff -urNp -x '*.orig' gnuradio-3.8.0.0.org/gr-zeromq/lib/push_msg_sink_impl.cc gnuradio-3.8.0.0/gr-zeromq/lib/push_msg_sink_impl.cc |
643 | --- gnuradio-3.8.0.0.org/gr-zeromq/lib/push_msg_sink_impl.cc 2019-08-09 23:40:34.000000000 +0200 | |
644 | +++ gnuradio-3.8.0.0/gr-zeromq/lib/push_msg_sink_impl.cc 2021-03-05 21:17:40.999960036 +0100 | |
645 | @@ -57,7 +57,7 @@ push_msg_sink_impl::push_msg_sink_impl(c | |
8621df22 JB |
646 | d_socket->bind(address); |
647 | ||
648 | message_port_register_in(pmt::mp("in")); | |
649 | - set_msg_handler(pmt::mp("in"), boost::bind(&push_msg_sink_impl::handler, this, _1)); | |
650 | + set_msg_handler(pmt::mp("in"), boost::bind(&push_msg_sink_impl::handler, this, boost::placeholders::_1)); | |
651 | } | |
652 | ||
653 | push_msg_sink_impl::~push_msg_sink_impl() |