diff options
Diffstat (limited to 'gr-digital/lib/constellation_receiver_cb_impl.cc')
-rw-r--r-- | gr-digital/lib/constellation_receiver_cb_impl.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gr-digital/lib/constellation_receiver_cb_impl.cc b/gr-digital/lib/constellation_receiver_cb_impl.cc index 1d2f614035..f11de55181 100644 --- a/gr-digital/lib/constellation_receiver_cb_impl.cc +++ b/gr-digital/lib/constellation_receiver_cb_impl.cc @@ -18,7 +18,9 @@ #include <gnuradio/expj.h> #include <gnuradio/io_signature.h> #include <gnuradio/math.h> -#include <any> + +#include <boost/format.hpp> + #include <stdexcept> namespace gr { @@ -88,9 +90,9 @@ void constellation_receiver_cb_impl::handle_set_constellation( pmt::pmt_t constellation_pmt) { if (pmt::is_any(constellation_pmt)) { - std::any constellation_any = pmt::any_ref(constellation_pmt); + boost::any constellation_any = pmt::any_ref(constellation_pmt); constellation_sptr constellation = - std::any_cast<constellation_sptr>(constellation_any); + boost::any_cast<constellation_sptr>(constellation_any); set_constellation(constellation); } else { GR_LOG_ERROR(d_logger, "Received constellation that is not a PMT any; skipping."); |