diff options
author | Josh Morman <jmorman@gnuradio.org> | 2021-11-04 14:27:50 -0400 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-11-06 08:24:32 -0400 |
commit | 535bac6bc2409c3cf9e70c0fb62a7f789a5ec6fc (patch) | |
tree | 6505d6322e6c8afa66fe901f879af48d049b2a34 /gr-digital/lib | |
parent | 9b150efbc8a8458d9ed192daed34a7ff4e2948a0 (diff) |
Revert "Replace boost::any with std::any"
This reverts commit ccd28dfbb1504fdc29db267acd8aa3354fe10cd2.
Diffstat (limited to 'gr-digital/lib')
-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."); |