File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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// ----------------------------------------------------------------------------
3636IntegrationTest::~IntegrationTest ()
3737{
38- m_timer.Expired = 0 ;
38+ (* m_timer.Expired ) -= MakeDelegate ( this , &IntegrationTest::Run, m_thread) ;
3939}
4040
4141// ----------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments