[Posix] Fix compilation

This commit is contained in:
Lynix
2020-02-23 11:14:41 +01:00
parent 6ec2f3e56e
commit a51e77fe83
2 changed files with 3 additions and 1 deletions

View File

@@ -171,7 +171,7 @@ namespace Nz
// Wait until the thread is ready
std::unique_lock<std::mutex> lock(mutex);
m_thread = std::string(WindowThread, this, std::ref(mutex), std::ref(condition));
m_thread = std::thread(WindowThread, this, std::ref(mutex), std::ref(condition));
condition.wait(lock);
}