summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/include/pmt
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/include/pmt')
-rw-r--r--gnuradio-runtime/include/pmt/pmt.h8
-rw-r--r--gnuradio-runtime/include/pmt/pmt_sugar.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/gnuradio-runtime/include/pmt/pmt.h b/gnuradio-runtime/include/pmt/pmt.h
index a96d5f22f7..886762ffa2 100644
--- a/gnuradio-runtime/include/pmt/pmt.h
+++ b/gnuradio-runtime/include/pmt/pmt.h
@@ -15,9 +15,9 @@
#include <stdint.h>
#include <boost/any.hpp>
#include <boost/noncopyable.hpp>
-#include <boost/shared_ptr.hpp>
#include <complex>
#include <iosfwd>
+#include <memory>
#include <stdexcept>
#include <string>
#include <vector>
@@ -81,7 +81,7 @@ public:
* \brief typedef for shared pointer (transparent reference counting).
* See http://www.boost.org/libs/smart_ptr/smart_ptr.htm
*/
-typedef boost::shared_ptr<pmt_base> pmt_t;
+typedef std::shared_ptr<pmt_base> pmt_t;
class PMT_API exception : public std::logic_error
{
@@ -703,10 +703,10 @@ PMT_API void any_set(pmt_t obj, const boost::any& any);
PMT_API bool is_msg_accepter(const pmt_t& obj);
//! make a msg_accepter
-PMT_API pmt_t make_msg_accepter(boost::shared_ptr<gr::messages::msg_accepter> ma);
+PMT_API pmt_t make_msg_accepter(std::shared_ptr<gr::messages::msg_accepter> ma);
//! Return underlying msg_accepter
-PMT_API boost::shared_ptr<gr::messages::msg_accepter> msg_accepter_ref(const pmt_t& obj);
+PMT_API std::shared_ptr<gr::messages::msg_accepter> msg_accepter_ref(const pmt_t& obj);
/*
* ------------------------------------------------------------------------
diff --git a/gnuradio-runtime/include/pmt/pmt_sugar.h b/gnuradio-runtime/include/pmt/pmt_sugar.h
index f6c5221cc2..78d3f012af 100644
--- a/gnuradio-runtime/include/pmt/pmt_sugar.h
+++ b/gnuradio-runtime/include/pmt/pmt_sugar.h
@@ -54,7 +54,7 @@ static inline pmt_t mp(std::complex<float> z)
}
//! Make pmt msg_accepter
-static inline pmt_t mp(boost::shared_ptr<gr::messages::msg_accepter> ma)
+static inline pmt_t mp(std::shared_ptr<gr::messages::msg_accepter> ma)
{
return make_msg_accepter(ma);
}