diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2017-01-05 20:51:35 +0100 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2017-01-05 20:51:35 +0100 |
commit | 10e7e270773a258b0356bafc3a5bbc4853f38a4c (patch) | |
tree | 5e55f5358a39e8caf453448ddc724ed66b61f387 /gnuradio-runtime/lib/pmt/pmt_int.h | |
parent | 7f25c0120fc7bc6a6eeee87878cf387647d51614 (diff) | |
parent | 8d80d0adacc98b02392428ab5284d8417df9c776 (diff) |
Merge remote-tracking branch 'upstream/next' into gtk3
Diffstat (limited to 'gnuradio-runtime/lib/pmt/pmt_int.h')
-rw-r--r-- | gnuradio-runtime/lib/pmt/pmt_int.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gnuradio-runtime/lib/pmt/pmt_int.h b/gnuradio-runtime/lib/pmt/pmt_int.h index 49bde52063..f06f507944 100644 --- a/gnuradio-runtime/lib/pmt/pmt_int.h +++ b/gnuradio-runtime/lib/pmt/pmt_int.h @@ -24,7 +24,8 @@ #include <pmt/pmt.h> #include <boost/utility.hpp> -#include <boost/detail/atomic_count.hpp> +#include <boost/version.hpp> +#include <boost/atomic.hpp> /* * EVERYTHING IN THIS FILE IS PRIVATE TO THE IMPLEMENTATION! @@ -36,10 +37,10 @@ namespace pmt { class PMT_API pmt_base : boost::noncopyable { - mutable boost::detail::atomic_count count_; + mutable boost::atomic<int> refcount_; protected: - pmt_base() : count_(0) {}; + pmt_base() : refcount_(0) {}; virtual ~pmt_base(); public: |