[PATCH] Replace boost::bind with std::bind

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

argilo at gmail.com argilo at gmail.com
Fri Oct 23 02:41:04 UTC 2020


From: Clayton Smith <argilo at gmail.com>

This removes gr-iqbal's second-last dependence on Boost. All that
remains is boost::shared_ptr, which will have to stay until GNU Radio
3.9.
---
 lib/fix_cc.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/fix_cc.cc b/lib/fix_cc.cc
index af79d7db26..628421db3e 100644
--- a/lib/fix_cc.cc
+++ b/lib/fix_cc.cc
@@ -43,7 +43,7 @@ iqbalance::fix_cc::fix_cc(float mag, float phase)
 {
 	message_port_register_in(pmt::mp("iqbal_corr"));
 	set_msg_handler(pmt::mp("iqbal_corr"),
-			boost::bind(&iqbalance::fix_cc::apply_new_corrections, this, boost::placeholders::_1));
+			std::bind(&iqbalance::fix_cc::apply_new_corrections, this, std::placeholders::_1));
 }
 
 
-- 
2.25.1




More information about the osmocom-sdr mailing list