From 041f44e809f39d0567f6f191284d555cd6d08de2 Mon Sep 17 00:00:00 2001 From: Marcus Müller <mmueller@gnuradio.org> Date: Tue, 19 Oct 2021 20:44:11 +0200 Subject: Replace boost::any with std::any MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a modernization possible through C++17 Fixes #4780 Signed-off-by: Marcus Müller <mmueller@gnuradio.org> --- gnuradio-runtime/lib/pmt/pmt_int.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gnuradio-runtime/lib/pmt/pmt_int.h') 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; } }; -- cgit v1.2.3