diff options
author | eb | 2009-07-15 02:47:58 +0000 |
---|---|---|
committer | eb | 2009-07-15 02:47:58 +0000 |
commit | 5d7fc58bd8198c05bd45bca958e27187e74d9406 (patch) | |
tree | a0d83d6d776ded3b727bbfc812b41e30ccc754d4 /pmt/src/lib/pmt.h | |
parent | d4110d3f9ce3038a13051b00060004554636e48b (diff) | |
download | gnuradio-5d7fc58bd8198c05bd45bca958e27187e74d9406.tar.gz gnuradio-5d7fc58bd8198c05bd45bca958e27187e74d9406.tar.bz2 gnuradio-5d7fc58bd8198c05bd45bca958e27187e74d9406.zip |
revert 11442 until I find a fix for boost 1.37
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11445 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'pmt/src/lib/pmt.h')
-rw-r--r-- | pmt/src/lib/pmt.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pmt/src/lib/pmt.h b/pmt/src/lib/pmt.h index d495b17a5..24963fee7 100644 --- a/pmt/src/lib/pmt.h +++ b/pmt/src/lib/pmt.h @@ -23,7 +23,7 @@ #ifndef INCLUDED_PMT_H #define INCLUDED_PMT_H -#include <boost/intrusive_ptr.hpp> +#include <boost/shared_ptr.hpp> #include <boost/any.hpp> #include <complex> #include <string> @@ -48,10 +48,8 @@ class pmt_base; * \brief typedef for shared pointer (transparent reference counting). * See http://www.boost.org/libs/smart_ptr/smart_ptr.htm */ -typedef boost::intrusive_ptr<pmt_base> pmt_t; +typedef boost::shared_ptr<pmt_base> pmt_t; -extern void intrusive_ptr_add_ref(pmt_base*); -extern void intrusive_ptr_release(pmt_base*); class pmt_exception : public std::logic_error { |