From 535bac6bc2409c3cf9e70c0fb62a7f789a5ec6fc Mon Sep 17 00:00:00 2001
From: Josh Morman <jmorman@gnuradio.org>
Date: Thu, 4 Nov 2021 14:27:50 -0400
Subject: Revert "Replace boost::any with std::any"

This reverts commit ccd28dfbb1504fdc29db267acd8aa3354fe10cd2.
---
 gnuradio-runtime/include/pmt/pmt.h | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

(limited to 'gnuradio-runtime/include/pmt/pmt.h')

diff --git a/gnuradio-runtime/include/pmt/pmt.h b/gnuradio-runtime/include/pmt/pmt.h
index 7afdb92288..b55cc57d9f 100644
--- a/gnuradio-runtime/include/pmt/pmt.h
+++ b/gnuradio-runtime/include/pmt/pmt.h
@@ -12,8 +12,8 @@
 #define INCLUDED_PMT_H
 
 #include <pmt/api.h>
+#include <boost/any.hpp>
 #include <boost/noncopyable.hpp>
-#include <any>
 #include <complex>
 #include <cstdint>
 #include <iosfwd>
@@ -664,9 +664,10 @@ PMT_API pmt_t dict_values(pmt_t dict);
 
 /*
  * ------------------------------------------------------------------------
- *   Any (wraps std::any -- can be used to wrap pretty much anything)
+ *   Any (wraps boost::any -- can be used to wrap pretty much anything)
  *
  * Cannot be serialized or used across process boundaries.
+ * See http://www.boost.org/doc/html/any.html
  * ------------------------------------------------------------------------
  */
 
@@ -674,13 +675,13 @@ PMT_API pmt_t dict_values(pmt_t dict);
 PMT_API bool is_any(pmt_t obj);
 
 //! make an any
-PMT_API pmt_t make_any(const std::any& any);
+PMT_API pmt_t make_any(const boost::any& any);
 
-//! Return underlying std::any
-PMT_API std::any any_ref(pmt_t obj);
+//! Return underlying boost::any
+PMT_API boost::any any_ref(pmt_t obj);
 
 //! Store \p any in \p obj
-PMT_API void any_set(pmt_t obj, const std::any& any);
+PMT_API void any_set(pmt_t obj, const boost::any& any);
 
 
 /*
-- 
cgit v1.2.3