projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused function PBD::sys::extension
[ardour.git]
/
libs
/
pbd
/
pbd
/
destructible.h
diff --git
a/libs/pbd/pbd/destructible.h
b/libs/pbd/pbd/destructible.h
index 241d847aff1940c526aed4d051e914d0963f37cd..8881b45c55116d9f6523d06e6a997c68c780a6ac 100644
(file)
--- a/
libs/pbd/pbd/destructible.h
+++ b/
libs/pbd/pbd/destructible.h
@@
-20,20
+20,19
@@
#ifndef __pbd_destructible_h__
#define __pbd_destructible_h__
#ifndef __pbd_destructible_h__
#define __pbd_destructible_h__
-#include
<boost/signals2.hpp>
+#include
"pbd/signals.h"
namespace PBD {
class Destructible {
public:
namespace PBD {
class Destructible {
public:
- Destructible()
: refs_dropped (false)
{}
- virtual ~Destructible () {}
+ Destructible() {}
+ virtual ~Destructible () {
Destroyed();
}
-
boost::signals2::signal<void ()> GoingAway
;
- void drop_references () { if (!refs_dropped) { GoingAway(); } refs_dropped = true; }
+
PBD::Signal0<void> Destroyed
;
+ PBD::Signal0<void> DropReferences;
- private:
- bool refs_dropped;
+ void drop_references () { DropReferences(); }
};
}
};
}