diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2021-10-19 20:44:11 +0200 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-10-28 17:23:25 -0400 |
commit | 041f44e809f39d0567f6f191284d555cd6d08de2 (patch) | |
tree | 053b622cd4f9fef7c7956dd981dd5a7103249b39 /gr-digital/include | |
parent | 50d00f108c3ad62cd7beed6a4cbfdf4f0321c5aa (diff) |
Replace boost::any with std::any
This is a modernization possible through C++17
Fixes #4780
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gr-digital/include')
-rw-r--r-- | gr-digital/include/gnuradio/digital/constellation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-digital/include/gnuradio/digital/constellation.h b/gr-digital/include/gnuradio/digital/constellation.h index d6d39353d8..037075f2bb 100644 --- a/gr-digital/include/gnuradio/digital/constellation.h +++ b/gr-digital/include/gnuradio/digital/constellation.h @@ -15,7 +15,7 @@ #include <gnuradio/digital/metric_type.h> #include <gnuradio/gr_complex.h> #include <pmt/pmt.h> -#include <boost/any.hpp> +#include <any> #include <vector> namespace gr { @@ -113,7 +113,7 @@ public: constellation_sptr base() { return shared_from_this(); } - pmt::pmt_t as_pmt() { return pmt::make_any(boost::any(base())); } + pmt::pmt_t as_pmt() { return pmt::make_any(std::any(base())); } /*! \brief Generates the soft decision LUT based on * constellation and symbol map. |