Fix crash in test.
authorCarl Hetherington <carl@carlh.net>
Fri, 2 Apr 2010 14:30:14 +0000 (14:30 +0000)
committerCarl Hetherington <carl@carlh.net>
Fri, 2 Apr 2010 14:30:14 +0000 (14:30 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6829 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/test/midi_clock_slave_test.h

index 03405942180dbe481c4101abe5618e04e6dc4888..5a6a6fdb4fbdbab4933733d6a253f9eda82c28b4 100644 (file)
@@ -82,9 +82,9 @@ class MIDIClock_SlaveTest : public CppUnit::TestFixture, ARDOUR::MIDIClock_Slave
     CPPUNIT_TEST_SUITE_END();
 
     public:
+       MIDIClock_SlaveTest () : MIDIClock_Slave (new TestSlaveSessionProxy) {}
                
         void setUp() {
-          session = new TestSlaveSessionProxy ();
         }
         
         void tearDown() {