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 /gnuradio-runtime/lib/pmt/pmt_int.h | |
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 'gnuradio-runtime/lib/pmt/pmt_int.h')
-rw-r--r-- | gnuradio-runtime/lib/pmt/pmt_int.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnuradio-runtime/lib/pmt/pmt_int.h b/gnuradio-runtime/lib/pmt/pmt_int.h index 7aadefe4d7..1c4b149a49 100644 --- a/gnuradio-runtime/lib/pmt/pmt_int.h +++ b/gnuradio-runtime/lib/pmt/pmt_int.h @@ -11,7 +11,7 @@ #define INCLUDED_PMT_INT_H #include <pmt/pmt.h> -#include <boost/any.hpp> +#include <any> /* * EVERYTHING IN THIS FILE IS PRIVATE TO THE IMPLEMENTATION! @@ -170,15 +170,15 @@ public: class pmt_any : public pmt_base { - boost::any d_any; + std::any d_any; public: - pmt_any(const boost::any& any); + pmt_any(const std::any& any); //~pmt_any(); bool is_any() const override { return true; } - const boost::any& ref() const { return d_any; } - void set(const boost::any& any) { d_any = any; } + const std::any& ref() const { return d_any; } + void set(const std::any& any) { d_any = any; } }; |