mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
Rename internal class to stop the wrong destructor from being called
This commit is contained in:
parent
7262e16216
commit
2ef5cefa6b
1 changed files with 4 additions and 4 deletions
|
|
@ -64,11 +64,11 @@ SignalsTest::testDestruction ()
|
|||
CPPUNIT_ASSERT (true);
|
||||
}
|
||||
|
||||
class Receiver : public PBD::ScopedConnectionList
|
||||
class AReceiver : public PBD::ScopedConnectionList
|
||||
{
|
||||
public:
|
||||
Receiver (Emitter* e) {
|
||||
e->Fred.connect_same_thread (*this, boost::bind (&Receiver::receiver, this));
|
||||
AReceiver (Emitter* e) {
|
||||
e->Fred.connect_same_thread (*this, boost::bind (&AReceiver::receiver, this));
|
||||
}
|
||||
|
||||
void receiver () {
|
||||
|
|
@ -80,7 +80,7 @@ void
|
|||
SignalsTest::testScopedConnectionList ()
|
||||
{
|
||||
Emitter* e = new Emitter;
|
||||
Receiver* r = new Receiver (e);
|
||||
AReceiver* r = new AReceiver (e);
|
||||
|
||||
N = 0;
|
||||
e->emit ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue