[Posix] Fix compilation
This commit is contained in:
parent
6ec2f3e56e
commit
a51e77fe83
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue