projects
/
debian
/
gnuradio
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Applied patch c1258.diff from Stephan Bruns (ticket:359)
[debian/gnuradio]
/
gruel
/
src
/
lib
/
pmt
/
pmt.cc
diff --git
a/gruel/src/lib/pmt/pmt.cc
b/gruel/src/lib/pmt/pmt.cc
index fbf557be1e2577a3074928e7ddfba315a6b3e340..fd4035f75f8687e8029a25cdf69ac2546c4c7452 100644
(file)
--- a/
gruel/src/lib/pmt/pmt.cc
+++ b/
gruel/src/lib/pmt/pmt.cc
@@
-56,6
+56,8
@@
pmt_base::operator delete(void *p, size_t size)
#endif
+void intrusive_ptr_add_ref(pmt_base* p) { ++(p->count_); }
+void intrusive_ptr_release(pmt_base* p) { if (--(p->count_) == 0 ) delete p; }
pmt_base::~pmt_base()
{