diff options
author | Johnathan Corgan | 2012-04-16 16:21:58 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-04-16 16:21:58 -0700 |
commit | 54f27eed4991daa41ccba37789a250abdab020a9 (patch) | |
tree | 8546aa76d6d2143c9ff54f2750caf4aecd5ebdf2 /gruel/src/lib/pmt/pmt_int.h | |
parent | e53e231e50b66f9ab9a1ab5a3c7da894736be000 (diff) | |
download | gnuradio-54f27eed4991daa41ccba37789a250abdab020a9.tar.gz gnuradio-54f27eed4991daa41ccba37789a250abdab020a9.tar.bz2 gnuradio-54f27eed4991daa41ccba37789a250abdab020a9.zip |
Revert "Merge remote branch 'jblum-github/pmt_set_deleter'"
This reverts commit f88b8cf5508d3ba446cb94f800c56d34279cf91e, reversing
changes made to a87ac60f15c2593ececb02ba16ab842c20e760d2.
Diffstat (limited to 'gruel/src/lib/pmt/pmt_int.h')
-rw-r--r-- | gruel/src/lib/pmt/pmt_int.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gruel/src/lib/pmt/pmt_int.h b/gruel/src/lib/pmt/pmt_int.h index 745dbc666..3a5cd382b 100644 --- a/gruel/src/lib/pmt/pmt_int.h +++ b/gruel/src/lib/pmt/pmt_int.h @@ -38,15 +38,8 @@ namespace pmt { class GRUEL_API pmt_base : boost::noncopyable { mutable boost::detail::atomic_count count_; -public: - static void default_deleter(pmt_base *p){ - delete p; - } - - boost::function<void(pmt_base *)> deleter_; - protected: - pmt_base() : count_(0), deleter_(&pmt::pmt_base::default_deleter) {}; + pmt_base() : count_(0) {}; virtual ~pmt_base(); public: |