[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

@ -5,6 +5,7 @@ shallow_clone: true
skip_commits:
files:
- .travis.yml
- Dockerfile
- Doxyfile
- LICENSE
- License-Cabin.txt
@ -15,6 +16,7 @@ skip_commits:
- 'writing style.md'
- doc/*
- NazaraModuleTemplate/*
message: /\[Posix\]/
os:
- Visual Studio 2017

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);
}