Skip to content

Commit dd46973

Browse files
committed
Fix build
1 parent 0cd2f0e commit dd46973

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

IntegrationTest/IntegrationTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ IntegrationTest::IntegrationTest() :
2626

2727
// Start integration tests 500mS after system startup. Alteratively,
2828
// create your own worker thread and call Run() directly.
29-
m_timer.Expired = MakeDelegate(this, &IntegrationTest::Run, m_thread);
29+
(*m_timer.Expired) += MakeDelegate(this, &IntegrationTest::Run, m_thread);
3030
m_timer.Start(std::chrono::milliseconds(500));
3131
}
3232

@@ -35,7 +35,7 @@ IntegrationTest::IntegrationTest() :
3535
//----------------------------------------------------------------------------
3636
IntegrationTest::~IntegrationTest()
3737
{
38-
m_timer.Expired = 0;
38+
(*m_timer.Expired) -= MakeDelegate(this, &IntegrationTest::Run, m_thread);
3939
}
4040

4141
//----------------------------------------------------------------------------

0 commit comments

Comments
 (0)