Fix Crash in Lambda

This commit is contained in:
2019-01-29 15:29:06 +01:00
parent f6d5b9e787
commit 367f33aaa3
+1 -1
View File
@@ -29,7 +29,7 @@ public:
Stop();
m_run.store(true, std::memory_order_release);
m_thread = std::thread([this, interval, function, arguments ...]()
m_thread = std::thread([this, interval, function, &arguments...]()
{
while (m_run.load(std::memory_order_acquire))
{